Adds authorization data to the request metadata.
OptionaltimeoutMs: numberOptionaloptions: AuthorizationOptionsOptionalcanReturns whether the retry is allowed.
Optionaloptions: AuthorizationOptionsOptionalhandleRefreshes a rejected credential and reports whether the RPC can retry.
Optionaloptions: AuthorizationOptionsOptionaltimeoutMs: number
Adds credentials to RPC metadata.
Implement this interface only for a custom authorization scheme. Token-based applications can use TokenProvider and a concrete bearer.