Skip to main content

Interface: AuthenticationSession

Represents a session of a currently logged in user.

Properties

accessToken

readonly accessToken: string

The access token.

Defined in

packages/extension-api/src/extension-api.d.ts:3960


account

readonly account: AuthenticationSessionAccountInformation

The account associated with the session.

Defined in

packages/extension-api/src/extension-api.d.ts:3965


id

readonly id: string

The identifier of the authentication session.

Defined in

packages/extension-api/src/extension-api.d.ts:3955


scopes

readonly scopes: readonly string[]

The permissions granted by the session's access token. Available scopes are defined by the AuthenticationProvider.

Defined in

packages/extension-api/src/extension-api.d.ts:3971