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.
Parameters
- req Request
-
The
Request
instance.
-
Return Type
(boolean) Returns
true
if can be authenticated. Else, returnsfalse
.
Tries to authenticate the request with the relevant InboundAuthHandler
implementation.
Parameters
- req Request
-
Request
instance
-
Return Type
(boolean | AuthenticationError) true
if authenticated successfully, elsefalse
or,AuthenticationError
in case of errors