Constructors
Methods
Static
request
- request(options): Promise<Response>
Returns Promise<Response>
Private
Static
setAuthHeaders
- setAuthHeaders(headers, forceRenew): Promise<Headers>
Parameters
- headers: Headers
- forceRenew: boolean
Returns Promise<Headers>
Private
Static
stepIterator
- stepIterator(res, handleStep): Promise<void>
Returns Promise<void>
Private
Static
_request
- _request(options, forceRenew): Promise<Response>
Returns Promise<Response>
HTTP client that includes bearer token injection and refresh. This module also supports authorization for policy protected endpoints.
Example: