AuthenticationDetails

data class AuthenticationDetails : AccountDetails, IdentityDetails

Provides properties related to the authentication of a user.

In addition to the properties related to the account and identity of the authenticated user, it includes the authenticationToken, its expirationDate and possibly some extra information.

Properties

Link copied to clipboard
val authenticationToken: String

The Webcom token that authenticates the user.

Link copied to clipboard
open override val creationDate: Date

Creation date of the Webcom account of the authenticated user.

Link copied to clipboard
open override val displayName: String?

Display name of the authenticated user as known by the identity provider, if available.

Link copied to clipboard
open override val email: String?

Email of the authenticated user as known by the identity provider, if available.

Link copied to clipboard
val expirationDate: Date?

The expiration date of the authenticationToken.

Link copied to clipboard
val extra: ExtraIdentityDetails?

Possible additional information about the authenticated user.

Link copied to clipboard
val previousFactors: List<AuthenticationFactor>

The list of previous authentication factors used to authenticate the user (is empty for a classic single factor authentication), the freshest factor being represented by this AuthenticationDetails itself.

Link copied to clipboard
open override val provider: AuthenticationFactor.Provider

The identity provider that has authenticated the user.

Link copied to clipboard
open override val providerProfile: TreeLikeData?

Profile of the authenticated user as known by the identity provider, if available.

Link copied to clipboard
open override val providerUID: String

The identifier of the authenticated user relatively to the identity provider.

Link copied to clipboard
open override val uid: String

Unique identifier of the Webcom account of the authenticated user.