NMAPasswordEnroller
@objc
public protocol NMAPasswordEnroller : NMAPasswordPolicyProvider
The object in charge of password enrollment.
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 - till either the user provides a password that is conform with the format expected by the password policy or till the - operation is cancelled (through the
PasswordEnrollmentHandler.cancel()
.Declaration
Swift
func enrollPassword(context: NMAPasswordEnrollmentContext, handler: NMAPasswordEnrollmentHandler)
Parameters
context
the object containing contextual information for password enrollment.
handler
the object that is notified with the new password credentials.