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