CandidateAuthResult

data class CandidateAuthResult(val identityHash: String?, val status: CandidateAuthResult.Status, val errorMessage: String? = null) : Parcelable

Per-candidate result of an authorization call.

Constructors

Link copied to clipboard
constructor(identityHash: String?, status: CandidateAuthResult.Status, errorMessage: String? = null)

Types

Link copied to clipboard

Outcome kind of the authorization attempt for a single candidate.

Properties

Link copied to clipboard
val errorMessage: String?

human-readable description: error text for Status.FAILED, a delivery hint for Status.REQUIRES_TWO_FA; null for Status.AUTHORIZED.

Link copied to clipboard
val identityHash: String?

identifier of the candidate this result refers to (SDKCandidate.identityHash); null — call-level failure not tied to a specific candidate.