Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 6.01 KB

File metadata and controls

20 lines (16 loc) · 6.01 KB

OAuthAccessToken

Success

Fields

Field Type Required Description
object OAuthAccessTokenObject ✔️ N/A
externalAccountId String ✔️ External account ID
providerUserId String ✔️ The unique ID of the user in the external provider's system
token String ✔️ The access token
expiresAt Optional<Long> ✔️ Unix timestamp of the access token expiration.
provider String ✔️ The ID of the provider
publicMetadata Map<String, Object> ✔️ N/A
label Optional<String> ✔️ N/A
scopes List<String> The list of scopes that the token is valid for. Only present for OAuth 2.0 tokens.
idToken Optional<String> The ID token retrieved from the OIDC provider. Only present for OIDC-compliant OAuth 2.0 providers when available.
tokenSecret Optional<String> The token secret. Only present for OAuth 1.0 tokens.