Excuse me, I am a pitaya white, I now need an authentication policy, I used python channel before, the policy is to use the token after the url address to detect whether the token is legitimate, for example:
Get the token string after the url but unfortunately can't find the method
Intermediate key processing saved the token into the session but I couldn't get 'route' I use a builder. HandlerHooks. BeforeHandler. PushBack (middlewareServer. RequestBefore) if you can't get to the route, that this scheme also makes no sense
I also tried using the 'addRoute' method but for some reason it didn't work
I hope you can give us relevant plans. The time is urgent. Thank you
Excuse me, I am a pitaya white, I now need an authentication policy, I used python channel before, the policy is to use the token after the url address to detect whether the token is legitimate, for example:
I had two plans, but neither came to fruition
builder. HandlerHooks. BeforeHandler. PushBack (middlewareServer. RequestBefore)
if you can't get to the route, that this scheme also makes no sense I also tried using the 'addRoute' method but for some reason it didn't workI hope you can give us relevant plans. The time is urgent. Thank you