Object -
http
:
InboundAuthHandler
The representation of an inbound authentication handler for HTTP traffic.
Methods
Checks if the request can be authenticated with the relevant InboundAuthHandler implementation.
Tries to authenticate the request with the relevant InboundAuthHandler implementation.
Checks if the request can be authenticated with the relevant InboundAuthHandler implementation.
Parameters
- req Request
-
The
http:Requestinstance
-
Return Type
(boolean) trueif it can be authenticated or elsefalse
Tries to authenticate the request with the relevant InboundAuthHandler implementation.
Parameters
- req Request
-
The
http:Requestinstance
-
Return Type
(boolean | AuthenticationError) trueif it authenticated successfully,falseotherwise, or else anhttp:AuthenticationErrorin case of errors