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