NMASdkUserEnrollment

public class NMASdkUserEnrollment : NSObject, NMAUserEnrollment

The object containing the user enrollment information for an authenticator whose credentials are managed by the SDK (like the PIN authenticator).

  • Tells whether a given user is enrolled or not.

    Declaration

    Swift

    @objc
    public func isEnrolled(_ username: Username) -> Bool

    Parameters

    username

    the username.

    Return Value

    true if the user is enrolled, and false otherwise.

  • Returns the set of accounts that are enrolled with this authenticator.

    Declaration

    Swift

    @objc
    public var enrolledAccounts: [NMAAccount] { get }
  • Declaration

    Swift

    public var asDictionary: [String : Any]? { get }