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


account

readonly account: AuthenticationSessionAccountInformation

The account associated with the session.

Defined in

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


id

readonly id: string

The identifier of the authentication session.

Defined in

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


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