NMAPinChanger
@objc
public protocol NMAPinChanger : NMAPinPolicyProvider
The object handling the old and new PIN provided by the end-user.
Note
The SDK does not provide implementations of this interface. The implementation must be done by the user of the SDK.See
NMAPinChange
-
The method that will be invoked - till either the user provides the old PIN and a new PIN that conforms to the format expected by the SDK (i.e. a 6 digit PIN), or - till the operation is canceled (through the
NMAPinChangeHandler.cancel()
, or - till the PIN authenticator is permanently locked because the user provided too many times an invalid PIN.Declaration
Swift
func changePin(context: NMAPinChangeContext, handler: NMAPinChangeHandler)
Parameters
context
the object containing contextual information for PIN changing.
handler
the object that is notified with the new PIN credentials.