OAuthDpopTokens

View Source

Summary

OAuth tokens bound to a DPoP key pair.

Signature

interface OAuthDpopTokens {
  accessToken: string;
  dpop: OAuthDpopBinding;
  expiresAt?: Date;
  idToken?: string;
  refreshToken?: string;
  scope?: string[];
  tokenType: "DPoP";
}

Properties

accessToken

Access token returned by the provider.

dpop

DPoP binding material returned for DPoP-bound access tokens, when available.

expiresAt

Expiration time derived from the provider token response, when available.

idToken

OpenID Connect ID token returned by the provider, when available.

refreshToken

Refresh token returned by the provider, when available.

scope

Scopes granted to the current access token, when provided by the provider.

tokenType

DPoP-bound access tokens always advertise the DPoP token type.