NMAPasswordChanger

@objc
public protocol NMAPasswordChanger : NMAPasswordPolicyProvider

The object handling the old and new password 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 password and a new password that conforms with the format specified by the NMAPasswordPolicy or - till the operation is canceled (through the NMAPasswordChangeHandler.cancel(), or - till the password authenticator is permanently locked because the user provided too many times an invalid password.

    Declaration

    Swift

    func changePassword(context: NMAPasswordChangeContext, handler: NMAPasswordChangeHandler)

    Parameters

    context

    the object containing contextual information for password changing.

    handler

    the object that is notified with the new password credentials.