-
Notifications
You must be signed in to change notification settings - Fork 1
Unblocking
Filip Vašš edited this page Sep 4, 2023
·
5 revisions
After few unsuccessful authentication attempts, CASE server will block application instance and for the time it is blocked, it can't be used to authorize any transaction. Application can start unblocking flow, which will unblock a particular instance. Unblocking flow is same as activation flow, but initialization step is different for unblocking. It starts by initizing unblocking method on Activation instance.
Android:
val act = CMActivation.instance(context)
val account: CMAccount = ... // get account instance
val listener: CMInitListener = ...
val nickname: String = ... // get nickname from user or storage
act.initUnblock(account, nickname, null, listener)
// proceed with other activation methodsiOS:
let act = Activation.instance()
let account: Account = ... // get account instance
let nickname: String = ... // get nickname from user or storage
act.initiateUnblocking(account: account, nickname: nickname) { (result) in /*...*/ }
// proceed with other activation methodsWhat Errors can occur