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

    Class PasswordChangerAbstract

    The object in charge of password 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 password and a new password that conforms with the format specified by the PasswordPolicy, or till the operation is cancelled (through the PasswordChangeHandler.cancel), or till the password authenticator is permanently locked because the user provided too many times an invalid password.

      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 PasswordChangeHandler.cancel instead of being left waiting indefinitely.

    Properties

    passwordPolicy: PasswordPolicy = ...

    the object defining the constraints of the password (minimum length, required special characters, etc.).