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:3890


account

readonly account: AuthenticationSessionAccountInformation

The account associated with the session.

Defined in

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


id

readonly id: string

The identifier of the authentication session.

Defined in

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


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:3901