Authenticate
This function is used to request authentication. This is where the authentication mechanism is handled.
Optionalresponse: ResponseOptionaloptions: RequestInittrue if authentication was successful
Is Authenticated
This function checkes the response and should determine if the response is returning an authentication fault
Response that authentication test should be ran against
OptionalmaxMaximum Tries
Number of failed authentication attempts before giving up.
OptionalprePre-Authenticate
This optional function is used to pre authenticate a request. For example in the case the request is authenticated via a token.
to pre authenticate
Optionaloptions: RequestInitPre authenticated Request Object
Request Authenticator