AuthenticationSession

Represents a session of a currently logged in user.

Online Documentation

Properties

Link copied to clipboard
abstract val accessToken: String

The access token. This token should be used to authenticate requests to a service. Popularized by OAuth.

Link copied to clipboard

The account associated with the session.

Link copied to clipboard
abstract val id: String

The identifier of the authentication session.

Link copied to clipboard
abstract val idToken: String?

The ID token. This token contains identity information about the user. Popularized by OpenID Connect.

Link copied to clipboard

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