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

authenticationToken
Link copied to clipboard
val authenticationToken: String

The Webcom token that authenticates the user.

creationDate
Link copied to clipboard
open override val creationDate: Date

Creation date of the Webcom account of the authenticated user.

displayName
Link copied to clipboard
open override val displayName: String?

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

email
Link copied to clipboard
open override val email: String?

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

expirationDate
Link copied to clipboard
val expirationDate: Date?

The expiration date of the authenticationToken.

extra
Link copied to clipboard
val extra: ExtraIdentityDetails?

Possible additional information about the authenticated user.

previousFactors
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.

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

The identity provider that has authenticated the user.

providerProfile
Link copied to clipboard
open override val providerProfile: Map<String, String>?

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

providerUID
Link copied to clipboard
open override val providerUID: String

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

uid
Link copied to clipboard
open override val uid: String

Unique identifier of the Webcom account of the authenticated user.