NMAOsUserEnrollment

public class NMAOsUserEnrollment : NSObject, NMAUserEnrollment

The object containing the user enrollment information for an authenticator whose credentials are managed by the operating system (like the FaceID. In this case, there is no notion of Account: either the authenticator is enrolled at the operating system level (for all users) or not.

  • Tells whether a given user is enrolled or not.

    Declaration

    Swift

    @objc
    public func isEnrolled() -> Bool

    Return Value

    true if the user is enrolled in the OS based authenticator, false otherwise.

  • Declaration

    Swift

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