Skip to content

Session

classe · Source

Represents a Client OAuth2 Application Team.

Extends: Base

Properties

id

id: string

The session hash id Source

approxLastUsedTime

approxLastUsedTime: string

The approximate last used time Source

clientInfo

clientInfo: SessionClientInfo

The client info Source

createdTimestamp

readonly

createdTimestamp: number

The timestamp the client was last used at. Source

createdAt

readonly

createdAt: Date

The time the client was last used at. Source

client

readonly

client: Client

The client that instantiated this Source

Methods

logout

logout(): Promise<void>

Logout the client (remote). Returns: Promise<void>Source

Unofficial software. Not affiliated with or supported by Discord.