Creates a new cached impersonated bearer.
Optionalopts: { logger?: Logger; maxRetries?: number; metrics?: AuthMetricsInput }
Optionallogger?: LoggerOptional destination for diagnostic events.
OptionalmaxRetries?: numberMaximum total authentication attempts for one receiver. Defaults to 2.
Optionalmetrics?: AuthMetricsInputOptional authentication metrics destination.
Readonly$typeContains the fully qualified runtime type name.
Returns the provider name for authorization metrics.
Returns the credential name.
Returns the wrapped bearer.
Stops owned background work and closes the wrapped bearer.
OptionalgraceMs: numberCreates a token receiver.
Adds in-memory renewal to ImpersonatedBearer.
Use this variant for normal SDK requests so repeated calls reuse the impersonated access token until renewal is required.
Example