Skip to main content
Defined in: client/auth.ts:44 An auth provider that acquires a token asynchronously and injects it as a request header per request. ClientCredentials, JwtBearerAuth, and EnterpriseManagedAuth all implement it. The transport recognizes these by their kind discriminant and injects getHeaders() on every request via a custom fetch wrapper (unlike static BearerAuth, whose header never changes, or interactive OAuth, which the SDK transport drives itself).

Properties

kind

Defined in: client/auth.ts:45

Methods

getHeaders()

Defined in: client/auth.ts:46

Returns

Promise<Record<string, string>>