recover

abstract suspend fun recover(parameters: TOTP.RecoverParameters): TOTPRecoverResponse

Call this method to authenticate a recovery code for a TOTP instance. If this method succeeds, the user will be logged in and granted an active session

Return

TOTPRecoverResponse

Parameters

parameters

the parameters required to authenticate a recovery code for a TOTP instance


abstract fun recover(parameters: TOTP.RecoverParameters, callback: (TOTPRecoverResponse) -> Unit)

Call this method to authenticate a recovery code for a TOTP instance. If this method succeeds, the user will be logged in and granted an active session

Parameters

parameters

the parameters required to authenticate a recovery code for a TOTP instance

callback

a callback that receives a TOTPRecoverResponse