You are not logged in.
Hello Folks,
ist there a possibility to bypass the Authentication for a specific single URI, like it is with the standard URI '/auth'. For that one you dont need a session_signature. I want to do the same for a function which just check the SessionId. And i dont want to run in a 403 Auth failed error if the session doesnt exists any longer (therefore wrong SesionSign).
Any Idea here ?
Offline
Have a look at:
ServiceMethodByPassAuthentication
Offline
Thank you, i just overread that in the docs. Really much appreciate your help!
Offline
Sorry for bother you again, i can't figure out how to use the Method. On the Server Side i just call the Method with the Parameter "checkSession" and i have a Interfaced ISession with a method Session.checkSession.
Maybe it is obvious but i just dont get how to call the Method properly. I can't find a examle as well, any further help is well appreciated
Offline
This ServiceMethodByPassAuthentication method is for method-based services. As documented, and as its name states.
To tune interface-based service method authentication, when you register the service, you can set TServiceFactoryServer.ByPassAuthentication property to disable authentication for a given interface-based service.
But in your case, if you need a single URI, a method-based service is preferred.
Offline
Thank you ab. That was the right direction to point me. I solved my specific Issue now. Thank you
Offline