Interface FiefTokenResponse

Object containing the tokens and related information returned by Fief after a successful authentication.


  • FiefTokenResponse


access_token: string

Access token you can use to call the Fief API.

expires_in: number

Number of seconds after which the tokens will expire.

id_token: string

ID token containing user information.

refresh_token?: string

Token provided only if scope offline_access was granted. Allows you to retrieve fresh tokens using the Fief#authRefreshToken method.

token_type: string

Type of token, usually bearer.

Generated using TypeDoc