Nevis Mobile Authentication SDK React Native plugin
    Preparing search index...

    Class PinChangerAbstract

    The object in charge of PIN change.

    The SDK does not provide implementations of this interface. The implementation must be done by the user of the SDK.

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    • 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 cancelled (through the PinChangeHandler.cancel), or till the PIN authenticator is permanently locked because the user provided too many times an invalid PIN.

      Parameters

      Returns void | Promise<void>

      void, or a Promise when implemented asynchronously. If the returned promise rejects, the error is logged and the operation is cancelled through PinChangeHandler.cancel instead of being left waiting indefinitely.

    Properties

    pinPolicy: PinPolicy = ...

    The object defining the minimum and maximum length of the PIN.

    If not implemented, it will return a PIN policy with a minimum and maximum length of 6 digits.