VerificationData

fun VerificationData(auth: OnAuth.AuthResponse, password: String)

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

Parameters

auth

Details of the identity to verify, as returned by the Webcom.addIdentity method

password

The one time verification code sent to the user by SMS

fun VerificationData(token: String)

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

Parameters

token

The verification token sent to the user by email