Skip to content

Documentation / react-auth / OAuthTokens

Type alias: OAuthTokens

OAuthTokens: Object

Type declaration

accessToken

accessToken: string

The OAuth access token.

accessTokenExpiresInSeconds?

accessTokenExpiresInSeconds?: number

The number of seconds until the OAuth access token expires.

provider

provider: OAuthProviderType

The OAuth provider.

refreshToken?

refreshToken?: string

The OAuth refresh token.

refreshTokenExpiresInSeconds?

refreshTokenExpiresInSeconds?: number

The number of seconds until the OAuth refresh token expires. if the refresh token is present and this field is undefined, it is assumed that the refresh token does not have an expiration date

scopes?

scopes?: string[]

The list of OAuth scopes the access token is approved for.