Object -
http
:
OutboundAuthHandler
The representation of an outbound authentication handler for HTTP traffic.
Methods
Prepares the request with the relevant authentication requirements.
Parameters
- req Request
-
The
http:Request
instance
-
Return Type
(Request | AuthenticationError) The updated
http:Request
instance or else anhttp:AuthenticationError
in case of an error
Inspects the request and response and evaluates what is to be done.
-
Return Type
(Request | AuthenticationError | ()) The updated
http:Request
instance, anhttp:AuthenticationError
in case of an error, or else()
if nothing is to be returned