verify And Authenticate
fun verifyAndAuthenticate(oneTimePassword: String, callback: WebcomResultCallback<AuthenticationDetails>? = null)
Content copied to clipboard
Verify a previously attached identity with the oneTimePassword the user has just received, as the final step of an identity attachment call-flow, and, if successful authenticates the user with this identity (or authentication means).
This method fails if the first step of the call-flow (i.e. calling attachIdentity) has not been performed.
This operation is asynchronous and calls the given callback with the authentication result once performed.