AbstractGets access tokens from one configured credential source.
Applications normally pass a Bearer to the SDK and do not create a receiver directly. The SDK creates one receiver for an authentication flow. Each successful Receiver.fetch call updates Receiver.latest.
Returns the last successfully fetched token, or undefined before the first success.
AbstractcanReports whether authentication can retry after an error.
The authorization interceptor calls this method. Application code should not implement its own retry loop around Receiver.fetch unless it owns the flow.
Optionaloptions: AuthorizationOptionsFetches a token and stores it as Receiver.latest.
timeoutMs is a budget for sources that support timeouts. The source can
reject when it cannot get a token within this budget.
OptionaltimeoutMs: numberOptionaloptions: AuthorizationOptions
Gets access tokens from one configured credential source.
Applications normally pass a Bearer to the SDK and do not create a receiver directly. The SDK creates one receiver for an authentication flow. Each successful Receiver.fetch call updates Receiver.latest.