Interface AuthenticationSession

Represents a session of a currently logged in user.

interface AuthenticationSession {
    accessToken: string;
    account: AuthenticationSessionAccountInformation;
    id: string;
    scopes: readonly string[];
}

Hierarchy (view full)

Properties

accessToken: string

The access token.

The account associated with the session.

id: string

The identifier of the authentication session.

scopes: readonly string[]

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