Methods
Static
request
- request(options): Promise<Response>
Returns Promise<Response>
Static
Private
setAuthHeaders
- setAuthHeaders(headers, forceRenew): Promise<Headers>
Parameters
- headers: Headers
- forceRenew: boolean
Returns Promise<Headers>
Static
Private
stepIterator
- stepIterator(res, handleStep): Promise<void>
Returns Promise<void>
Static
Private
_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: