PinChanger

public protocol PinChanger : PinPolicyProvider

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.

  • The method that will be invoked - till either the user provides the old PIN and a new PIN that conforms with the format specified by the PinPolicy or - till the operation is canceled (through the PinChangeHandler/cancel(), or - till the PIN authenticator is permanently locked because the user provided too many times an invalid PIN.

    Declaration

    Swift

    func changePin(context: PinChangeContext, handler: PinChangeHandler)

    Parameters

    context

    the object containing contextual information for PIN changing.

    handler

    the object that is notified with the new PIN credentials.