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
Requestinstance
-
Return Type
(Request | AuthenticationError) Returns the updated
Requestinstance or theAuthenticationErrorin case of an error
Inspects the request and response and evaluates what is to be done.
-
Return Type
(Request | AuthenticationError | ()) Returns the updated
Requestinstance, theAuthenticationErrorin case of an error, or()if nothing is to be returned