Authorization data as provided after token exchange

Hierarchy

  • IAuthData

Properties

expiresAt: number

The token's expiration time in seconds

refreshToken?: string

A token that can be used to request a new access token when the current one has expired.

Not all providers have a refresh token.

scope: string

Scope(s) authorized by the user.

Format can change depending on provider, but usually when there are more than one scope, they are separated by a white-space caracter

token: string

Access token from application

Generated using TypeDoc