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
Requestinstance
-
Return Type
(boolean) Returns
trueif can be authenticated. Else, returnsfalse
Tries to authenticate the request with the relevant InboundAuthHandler implementation.
Parameters
- req Request
-
Requestinstance
-
Return Type
(boolean | AuthenticationError) trueif authenticated successfully, elsefalseor,AuthenticationErrorin case of errors