How to use dynamic token auth by route path

I wan’t an auth by kong,And it require the token to be dynamic for the route url, is it can do the job?