Skip to main content

Interface: AuthenticationSession

Represents a session of a currently logged in user.

Properties

accessToken

readonly accessToken: string

The access token.

Source

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


account

readonly account: AuthenticationSessionAccountInformation

The account associated with the session.

Source

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


id

readonly id: string

The identifier of the authentication session.

Source

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


scopes

readonly scopes: readonly string[]

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

Source

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