Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication / AuthenticationDetails

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

val authenticationToken: String

The Webcom token that authenticates the user.

creationDate

val creationDate: Date

Creation date of the Webcom account of the authenticated user.

displayName

val displayName: String?

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

email

val email: String?

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

expirationDate

val expirationDate: Date?

The expiration date of the authenticationToken.

extra

val extra: ExtraIdentityDetails?

Possible additional information about the authenticated user.

previousFactors

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

val provider: AuthenticationFactor.Provider

The identity provider that has authenticated the user.

providerProfile

val providerProfile: Any?

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

providerUID

val providerUID: String

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

uid

val uid: String

Unique identifier of the Webcom account of the authenticated user.