VerificationData

class VerificationData

Encapsulates all information pieces to verify a newly created identity. The pieces of information depends on the authentication method associated to the identity to verify.

Constructors

VerificationData
Link copied to clipboard
fun VerificationData(auth: OnAuth.AuthResponse, password: String)

Builds a VerificationData instance based on a one time verification code.

VerificationData
Link copied to clipboard
fun VerificationData(token: String)

Builds a token-based VerificationData instance, to verify an identity with a permanent password (email- or phone- based identity).

Properties

auth
Link copied to clipboard
val auth: OnAuth.Identity? = null
password
Link copied to clipboard
val password: String? = null
token
Link copied to clipboard
val token: String? = null