Skip to main content

Interface: AuthenticationSession

Defined in: packages/extension-api/src/extension-api.d.ts:3953

Represents a session of a currently logged in user.

Properties

accessToken

readonly accessToken: string

Defined in: packages/extension-api/src/extension-api.d.ts:3962

The access token.


account

readonly account: AuthenticationSessionAccountInformation

Defined in: packages/extension-api/src/extension-api.d.ts:3967

The account associated with the session.


id

readonly id: string

Defined in: packages/extension-api/src/extension-api.d.ts:3957

The identifier of the authentication session.


scopes

readonly scopes: readonly string[]

Defined in: packages/extension-api/src/extension-api.d.ts:3973

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