twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

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: Array<string>

The scopes for which the token is valid.

userId

Type: string

The ID of the authenticated user.

userName

Type: string

The name of the authenticated user.