TwurpleAuthenticationGetting dataExamplesFAQMigration

TokenInfo

Information about an access token.

Overview

Properties

clientId

Type: string

The client ID.

expiryDate

Type: Date | null

The time when the token will expire.

If this returns null, it means that the token never expires (happens with some old client IDs).

scopes

Type: string[]

The scopes for which the token is valid.

userId

Type: string | null

The ID of the authenticated user.

userName

Type: string | null

The name of the authenticated user.