EMSystemFaceAuthService

Objective-C


@interface EMSystemFaceAuthService : NSObject <EMAuthService>

Swift

class EMSystemFaceAuthService : NSObject, EMAuthService

Native FaceID Authentication Service

Since

4.6
  • Designated constructor. Returns the EMSystemFaceAuthService object created using the EMAuthModule

    Since

    4.6

    Declaration

    Objective-C

    + (instancetype)serviceWithModule:(EMAuthModule *)module;

    Swift

    convenience init!(module: EMAuthModule!)

    Parameters

    module

    an instance of EMAuthModule

    Return Value

    EMSystemFaceAuthService instance.

  • Sets the fallback block

    Since

    4.6

    Declaration

    Objective-C

    + (void)setIsSupportedFallback:(IsSupportedFallback)fallback;

    Swift

    class func setIsSupportedFallback(_ fallback: IsSupportedFallback!)

    Parameters

    fallback

    The fallback block

  • Returns the fallback block to override whether or not an unidentified device supports SystemFaceAuth service or not.

    Since

    4.6

    Declaration

    Objective-C

    + (IsSupportedFallback)getIsSupportedFallback;

    Swift

    class func getIsSupportedFallback() -> IsSupportedFallback!