Skip to content

toCredential

function toCredential(body, fallbackRefresh?): Credential;

Defined in: core/src/auth/oauth.ts:202

The credential a token response describes. Naming the account is the caller’s job: every vendor puts it under a different claim.

Parameter Type
body Record<string, unknown>
fallbackRefresh? string

Credential