SessionVerification

@Serializable
data class SessionVerification(val id: String? = null, val status: SessionVerification.Status = Status.UNKNOWN, val level: SessionVerification.Level = Level.UNKNOWN, val session: Session? = null, val supportedFirstFactors: List<Factor>? = null, val supportedSecondFactors: List<Factor>? = null, val firstFactorVerification: Verification? = null, val secondFactorVerification: Verification? = null)

Represents the state of an in-session reverification (step-up) flow.

Constructors

Link copied to clipboard
constructor(id: String? = null, status: SessionVerification.Status = Status.UNKNOWN, level: SessionVerification.Level = Level.UNKNOWN, session: Session? = null, supportedFirstFactors: List<Factor>? = null, supportedSecondFactors: List<Factor>? = null, firstFactorVerification: Verification? = null, secondFactorVerification: Verification? = null)

Types

Link copied to clipboard
@Serializable
enum Level : Enum<SessionVerification.Level>

The required level of verification.

Link copied to clipboard
@Serializable
enum Status : Enum<SessionVerification.Status>

The status of a session verification attempt.

Properties

Link copied to clipboard
@SerialName(value = "first_factor_verification")
val firstFactorVerification: Verification?

The state of the first-factor verification.

Link copied to clipboard
val id: String?

The unique identifier for the verification attempt.

Link copied to clipboard

The required verification level.

Link copied to clipboard
@SerialName(value = "second_factor_verification")
val secondFactorVerification: Verification?

The state of the second-factor verification.

Link copied to clipboard

The session associated with the verification.

Link copied to clipboard

The current status of the verification.

Link copied to clipboard
@SerialName(value = "supported_first_factors")
val supportedFirstFactors: List<Factor>?

First factors supported for this verification.

Link copied to clipboard
@SerialName(value = "supported_second_factors")
val supportedSecondFactors: List<Factor>?

Second factors supported for this verification.