authenticate

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

Return

TOTPAuthenticateResponse

Parameters

parameters

the parameters required to authenticate a TOTP


abstract fun authenticate(parameters: TOTP.AuthenticateParameters, callback: (TOTPAuthenticateResponse) -> Unit)

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

Parameters

parameters

the parameters required to authenticate a TOTP

callback

a callback that receives a TOTPAuthenticateResponse