revokeToken

abstract suspend fun revokeToken(deregisterDevice: Boolean): Result<Unit>

Revokes the authorization token preventing any further operations until a new token is granted. If your UserVerificationProvider returns a new token, the user is re-authorized. No action occurs in this method if Configuration.isUserVerificationRequired is set to false.

Parameters

deregisterDevice

Also deregister the device from receiving push notifications.