Skip to main content

PartialTokenEndpointResponse

The subset of a /token endpoint response that every grant is guaranteed to include. The remaining TokenEndpointResponse properties are required for the interactive code flow but are typically absent from a client_credentials response: providers commonly issue no refresh token for that grant (renewal simply re-runs the grant — see OpenIdConnectClient.createWithClientCredentials) and only include an id_token when the openid scope applies to the service account.

Hierarchy

Index

Properties

readonlyaccess_token

access_token: string

readonlyexpires_in

expires_in: number

optionalreadonlyid_token

id_token?: string

optionalreadonlyrefresh_expires_in

refresh_expires_in?: number

optionalreadonlyrefresh_token

refresh_token?: string