Credentials type
Build a login Request (with credentials).
Build a logout Request (with refresh token).
Build a renew Request (with refresh token).
Apply the access token to a Request.
It should add Authorization
header.
request to configure
access Token.value to apply.
Generated using TypeDoc
Adapts HTTP authentication server to common objects like ServerEndpoint and Request.
It supports creating login, renew and logout requests based on supported protocol (OAuth, OpenID, custom JWT authentication ...).
It also supports setting the access token on any Request, reading Tokens from Response, and checking if Tokens.access or Tokens.refresh have expired from Response.
Implementation of this interface can be given to Auth constructor.