Protocols
The following protocols are available globally.
-
A protocol that carries authentication input from a user (e.g. a user’s PIN). This is used when operation requires not only an authentication mode but also user input.
Refers to EMPinAuthInput and EMBioFingerprintAuthInput
Since
3.2 -
A base protocol (marker) that represents a particular authentication mode.
Since
3.2Declaration
Objective-C
@protocol EMAuthMode <NSObject>Swift
protocol EMAuthMode : NSObjectProtocol -
Declaration
Objective-C
@protocol EMAuthService <NSObject>Swift
protocol EMAuthService : NSObjectProtocol -
Authenticatable protocol. Authenticatable refers to some asset which could be authenticated with multi-authentication modes once configured.
See moreSince
3.2Declaration
Objective-C
@protocol EMAuthenticatable <NSObject>Swift
protocol EMAuthenticatable : NSObjectProtocol -
A protocol defining a device that generates CAP based OTPs.
See moreDeclaration
Objective-C
@protocol EMCapDevice <NSObject>Swift
protocol EMCapDevice : NSObjectProtocol -
A protocol representing the CAP settings.
Declaration
Objective-C
@protocol EMCapSettings <NSObject>Swift
protocol EMCapSettings : NSObjectProtocol -
CAP Token Manager
See moreDeclaration
Objective-C
@protocol EMCapTokenManager <NSObject, EMTokenManager>Swift
protocol EMCapTokenManager : EMTokenManager -
Declaration
Objective-C
@protocol EMDcvOathDevice <NSObject>Swift
protocol EMDcvOathDevice : NSObjectProtocol -
A protocol representing a decimal input dialog (DID) primitive.
This primitive has type
EMPrimitiveTypeDID.The allowed input format is
EMPrimitiveInputFormatDecimalTwoFractionDigits.Declaration
Objective-C
@protocol EMDecimalInputDialogPrimitive <EMInputPrimitive>Swift
protocol EMDecimalInputDialogPrimitive : EMInputPrimitive -
A protocol representing a Dynamic Signature (DS) device.
See moreDeclaration
Objective-C
@protocol EMDsFormattingDevice <NSObject>Swift
protocol EMDsFormattingDevice : NSObjectProtocol -
A protocol representing a DS Transaction Data.
See moreDeclaration
Objective-C
@protocol EMDsTransactionData <NSObject>Swift
protocol EMDsTransactionData : NSObjectProtocol -
Passed to the OnLocalPinRequestBlock in order to let the the client respond on the callback with one of the supported actions - the token PIN entry or cancel.
See moreSince
4.1Declaration
Objective-C
@protocol EMDskppLocalPinCallback <NSObject>Swift
protocol EMDskppLocalPinCallback : NSObjectProtocol -
Declaration
Objective-C
@protocol EMDskppPolicyProtocolSwift
protocol EMDskppPolicyProtocol -
Defines the methods to call back during OnServerPinRequestBlock. These methods need to be called to after the App has collected the PINs from the user in order to continue or cancel the DSKPP provisioning process
See moreSince
4.1Declaration
Objective-C
@protocol EMDskppServerPinCallback <NSObject>Swift
protocol EMDskppServerPinCallback : NSObjectProtocol -
An interface for OATH tokens with the EMTokenCapabilityDUAL_SEED capability.
Since
4.0Declaration
Objective-C
@protocol EMDualSeedOathToken <EMSoftOathToken, EMSelectableKey>Swift
protocol EMDualSeedOathToken : EMSelectableKey, EMSoftOathToken -
An interface for Soft OATH tokens with the EMTokenCapabilityDUAL_SEED capability.
Since
2.6Declaration
Objective-C
@protocol EMDualSeedSoftOathToken <EMSoftOathToken, EMSelectableKey>Swift
protocol EMDualSeedSoftOathToken : EMSelectableKey, EMSoftOathToken -
Holds additional data fields that could be present in the QR code. It provides a simple interface to retrieve value of such fields.
See moreSince
5.0Declaration
Objective-C
@protocol EMEmvAdditionalDataFieldTemplate <EMEmvTemplate>Swift
protocol EMEmvAdditionalDataFieldTemplate : EMEmvTemplate -
Data object class providing the common interface.
See moreDeclaration
Objective-C
@protocol EMEmvDataObjectSwift
protocol EMEmvDataObject -
Declaration
Objective-C
@protocol EMEmvFactory <NSObject>Swift
protocol EMEmvFactory : NSObjectProtocol -
Class that holds the Language Preference and Merchant Name—Alternate Language. It may contain the Merchant City—Alternate Language. All other IDs within the Merchant Information—Language Template are RFU for EMVCo.
See moreSince
5.0Declaration
Objective-C
@protocol EMEmvMerchantInformationLanguageTemplate <EMEmvTemplate>Swift
protocol EMEmvMerchantInformationLanguageTemplate : EMEmvTemplate -
Declaration
Objective-C
@protocol EMEmvMpmDecoder <NSObject>Swift
protocol EMEmvMpmDecoder : NSObjectProtocol -
Implementation of primitive data object type as defined by EMV specification. Primitive data object holds a string value, which does not have an inner structure and which could be retrieved by
-[Primitive getValue()]method.Since
5.0Declaration
Objective-C
@protocol EMEmvPrimitive <EMEmvDataObject>Swift
protocol EMEmvPrimitive : EMEmvDataObject -
Bool class providing method to create EMVQR primitive data type that represent BOOL values.
See moreSince
5.0Declaration
Objective-C
@protocol EMEmvBool <NSObject>Swift
protocol EMEmvBool : NSObjectProtocol -
Byte class providing method to create EMVQR primitive data type that represent unsigned integer values.
See moreDeclaration
Objective-C
@protocol EMEmvByte <NSObject>Swift
protocol EMEmvByte : NSObjectProtocol -
Implementation of template data object type as defined by EMV specification. Template data object contains an inner structure of other templates or primitive data objects which could be retrieved by
-[EMEmvTemplate dataObject:]method.See moreSince
5.0Declaration
Objective-C
@protocol EMEmvTemplate <EMEmvDataObject>Swift
protocol EMEmvTemplate : EMEmvDataObject -
Extends the
EMEmvTemplateclass to provide an interface for easy access to Globally Unique Identifier that sets the context of other data object inside the template.See moreSince
5.0Declaration
Objective-C
@protocol EMEmvTemplateWithGui <EMEmvTemplate>Swift
protocol EMEmvTemplateWithGui : EMEmvTemplate -
Holds consolidated information about payment transaction.
See moreDeclaration
Objective-C
@protocol EMEmvTransactionInfo <NSObject>Swift
protocol EMEmvTransactionInfo : NSObjectProtocol -
A protocol representing a free text input (E0) primitive.
This primitive has type
EMPrimitiveTypeE0. See EMPrimitiveType.The allowed input format is
CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatin9).Since
2.1Declaration
Objective-C
@protocol EMFreeTextPrimitive <EMTextPrimitive>Swift
protocol EMFreeTextPrimitive : EMTextPrimitive -
Declaration
Objective-C
@protocol EMGemaltoOathDevice <NSObject>Swift
protocol EMGemaltoOathDevice : NSObjectProtocol -
A protocol representing a grouped input dialog (IDG) primitive.
This is an extension of the EMInputDialogPrimitive which visually partitions the input into groups. e.g. 1234 5678.
This primitive has type
EMPrimitiveTypeIDG.The allowed input format is
EMPrimitiveInputFormatDigit.Declaration
Objective-C
@protocol EMGroupedInputDialogPrimitive <EMInputDialogPrimitive>Swift
protocol EMGroupedInputDialogPrimitive : EMInputDialogPrimitive -
A protocol representing a hidden text input (E1) primitive.
This primitive has type
EMPrimitiveTypeE1.The allowed input format is
EMPrimitiveTextFormatBinary.Since
2.1Declaration
Objective-C
@protocol EMHiddenTextPrimitive <EMTextPrimitive>Swift
protocol EMHiddenTextPrimitive : EMTextPrimitive -
A protocol representing a Information Message Dialog (IMD) primitive.
This primitive has type EMPrimitiveTypeIMD.
The IMD primitive is used in cases when no otp should be generated.
Declaration
Objective-C
@protocol EMInformationPrimitive <EMPrimitive>Swift
protocol EMInformationPrimitive : EMPrimitive -
A protocol representing a input dialog (ID) primitive.
This primitive has type
EMPrimitiveTypeID.The allowed input format is
EMPrimitiveInputFormatInputFormatDigit.Declaration
Objective-C
@protocol EMInputDialogPrimitive <EMInputPrimitive>Swift
protocol EMInputDialogPrimitive : EMInputPrimitive -
A primitive for all primitives which accept input, either user entered or selected.
See moreDeclaration
Objective-C
@protocol EMInputPrimitive <EMPrimitive>Swift
protocol EMInputPrimitive : EMPrimitive -
A protocol representing a message dialog (MD) primitive.
This primitive has type
EMPrimitiveTypeMD.This primitive has no input data, it is only used to display a message.
Declaration
Objective-C
@protocol EMMessageDialogPrimitive <EMPrimitive>Swift
protocol EMMessageDialogPrimitive : EMPrimitive -
Declaration
Objective-C
@protocol EMModule <NSObject>Swift
protocol EMModule : NSObjectProtocol -
A basic object protocol to retrieve the common public parameters of a decoded MspData Object
See moreSince
4.5Declaration
Objective-C
@protocol EMMspData <NSObject>Swift
protocol EMMspData : NSObjectProtocol -
Declaration
Objective-C
@protocol EMMspFrame <NSObject>Swift
protocol EMMspFrame : NSObjectProtocol -
Declaration
Objective-C
@protocol EMMspParser <NSObject>Swift
protocol EMMspParser : NSObjectProtocol -
A protocol for mutable CAP settings for soft tokens.
See moreDeclaration
Objective-C
@protocol EMMutableSoftCapSettings <NSObject, EMSoftCapSettings>Swift
protocol EMMutableSoftCapSettings : EMSoftCapSettings -
Declaration
Objective-C
@protocol EMMutableSoftDcvOathSettings <EMSoftDcvOathSettings>Swift
protocol EMMutableSoftDcvOathSettings : EMSoftDcvOathSettings -
Declaration
Objective-C
@protocol EMMutableSoftGemaltoOathSettings <EMSoftGemaltoOathSettings>Swift
protocol EMMutableSoftGemaltoOathSettings : EMSoftGemaltoOathSettings -
Declaration
Objective-C
@protocol EMMutableSoftOathSettings <EMSoftOathSettings>Swift
protocol EMMutableSoftOathSettings : EMSoftOathSettings -
A protocol representing a numeric input input dialog (NID) primitive.
This primitive has type
EMPrimitiveTypeNID.The allowed input format is
EMPrimitiveInputFormatDigit.Declaration
Objective-C
@protocol EMNumericInputDialogPrimitive <EMInputPrimitive>Swift
protocol EMNumericInputDialogPrimitive : EMInputPrimitive -
Declaration
Objective-C
@protocol EMOathDevice <NSObject>Swift
protocol EMOathDevice : NSObjectProtocol -
OATH Token Manager
See moreDeclaration
Objective-C
@protocol EMOathTokenManager <NSObject, EMTokenManager>Swift
protocol EMOathTokenManager : EMTokenManager -
Declaration
Objective-C
@protocol EMOobErrorMessage <EMOobOutgoingMessage, EMOobMessageMeta>Swift
protocol EMOobErrorMessage : EMOobMessageMeta, EMOobOutgoingMessage -
Declaration
Objective-C
@protocol EMOobFetchMessageResponse <EMOobMessageResponse>Swift
protocol EMOobFetchMessageResponse : EMOobMessageResponse -
Interface to an object that contains a generic message received from the OOB server.
See moreSince
3.0Declaration
Objective-C
@protocol EMOobGenericIncomingMessage <EMOobIncomingMessage>Swift
protocol EMOobGenericIncomingMessage : EMOobIncomingMessage -
Interface to an object that contains a generic message to send to the OOB server.
See moreSince
3.0Declaration
Objective-C
@protocol EMOobGenericOutgoingMessage <EMOobOutgoingMessage>Swift
protocol EMOobGenericOutgoingMessage : EMOobOutgoingMessage -
Declaration
Objective-C
@protocol EMOobIncomingMessage <EMOobMessage>Swift
protocol EMOobIncomingMessage : EMOobMessage -
Declaration
Objective-C
@protocol EMOobIncomingMessageHandler <EMOobMessageHandler>Swift
protocol EMOobIncomingMessageHandler : EMOobMessageHandler -
Declaration
Objective-C
@protocol EMOobManager <NSObject>Swift
protocol EMOobManager : NSObjectProtocol -
Declaration
Objective-C
@protocol EMOobMessage <NSObject>Swift
protocol EMOobMessage : NSObjectProtocol -
Message handler interface.
Since
4.0Declaration
Objective-C
@protocol EMOobMessageHandler <NSObject>Swift
protocol EMOobMessageHandler : NSObjectProtocol -
This manager provides a way to create outgoing messages for the server and; fetch messages from or send messages to the server.
See moreSince
3.0Declaration
Objective-C
@protocol EMOobMessageManager <NSObject>Swift
protocol EMOobMessageManager : NSObjectProtocol -
Declaration
Objective-C
@protocol EMOobMessageMeta <NSObject>Swift
protocol EMOobMessageMeta : NSObjectProtocol -
Declaration
Objective-C
@protocol EMOobMessageResponse <EMOobResponse>Swift
protocol EMOobMessageResponse : EMOobResponse -
The manager that provides functionality to manage a user notification profile. A notification profile is a list of EMOobNotificationProfile objects. Each notification profile contains a channel (SMS, Push, email, etc.) and an end point attached to that channel (for example an email address for the case of an email channel).
See moreSince
3.0Declaration
Objective-C
@protocol EMOobNotificationManager <NSObject>Swift
protocol EMOobNotificationManager : NSObjectProtocol -
Object response when retrieving the notification profiles from the server using an EMOobNotificationManager object:
- notificationProfiles:
- notificationProfilesWithCompletionHandler:
See moreSince
3.0Declaration
Objective-C
@protocol EMOobNotificationProfilesResponse <EMOobResponse>Swift
protocol EMOobNotificationProfilesResponse : EMOobResponse -
Declaration
Objective-C
@protocol EMOobOutgoingMessage <EMOobMessage>Swift
protocol EMOobOutgoingMessage : EMOobMessage -
Declaration
Objective-C
@protocol EMOobOutgoingMessageHandler <EMOobMessageHandler>Swift
protocol EMOobOutgoingMessageHandler : EMOobMessageHandler -
Declaration
Objective-C
@protocol EMOobProviderToUserMessage <EMOobIncomingMessage, EMOobMessageMeta>Swift
protocol EMOobProviderToUserMessage : EMOobIncomingMessage, EMOobMessageMeta -
Declaration
Objective-C
@protocol EMOobRegistrationManagerSwift
protocol EMOobRegistrationManager -
OOB registration response from EMOobRegistrationManager:
- registerWithRequest:error:
- registerWithRequest:completionHandler:
See moreSince
3.0Declaration
Objective-C
@protocol EMOobRegistrationResponse <EMOobMessageResponse>Swift
protocol EMOobRegistrationResponse : EMOobMessageResponse -
Declaration
Objective-C
@protocol EMOobResponse <NSObject>Swift
protocol EMOobResponse : NSObjectProtocol -
Declaration
Objective-C
@protocol EMOobTransactionSigningRequest <EMOobIncomingMessage, EMOobMessageMeta>Swift
protocol EMOobTransactionSigningRequest : EMOobIncomingMessage, EMOobMessageMeta -
Declaration
Objective-C
@protocol EMOobTransactionSigningResponse <EMOobOutgoingMessage, EMOobMessageMeta>Swift
protocol EMOobTransactionSigningResponse : EMOobMessageMeta, EMOobOutgoingMessage -
Declaration
Objective-C
@protocol EMOobTransactionVerifyRequest <EMOobIncomingMessage, EMOobMessageMeta>Swift
protocol EMOobTransactionVerifyRequest : EMOobIncomingMessage, EMOobMessageMeta -
Declaration
Objective-C
@protocol EMOobTransactionVerifyResponse <EMOobOutgoingMessage, EMOobMessageMeta>Swift
protocol EMOobTransactionVerifyResponse : EMOobMessageMeta, EMOobOutgoingMessage -
Declaration
Objective-C
@protocol EMOobUnregistrationManagerSwift
protocol EMOobUnregistrationManager -
Attachment object that can be sent and received by user messages. This comes along with either EMOobProviderToUserMessage or EMOobUserToProviderMessage object in its
attachmentsproperty.Locale of the content is defined by the message container.
See moreSince
3.0Declaration
Objective-C
@protocol EMOobUserMessageAttachment <NSObject>Swift
protocol EMOobUserMessageAttachment : NSObjectProtocol -
Declaration
Objective-C
@protocol EMOobUserToProviderMessage <EMOobOutgoingMessage, EMOobMessageMeta>Swift
protocol EMOobUserToProviderMessage : EMOobMessageMeta, EMOobOutgoingMessage -
In the Mobile Protector SDK, some sensitive functionalities are represented by the EMPasswordDomain. Each element of the enum EMPasswordDomainType represents a specific set of functionalities. Before these functionalities can be used, they must first be unlocked.
The Password Manager is a high level interface that allows to set a single password to manage all the EMPasswordDomain at the same time.
Using User-defined Password
-
Set a password. The first step when using the EMPasswordManager is to set a password. The password should be provided by an outside source (the application user, through a secured communication channel with a server, etc.).
// Assumptions // get PasswordManager from EMEzioMobileContext and assign it to 'passwordManager' // then... BOOL isSetResult = [passwordManager isPasswordSet:&error]; if (!isSetResult) { // manage error here }else{ // get password and store it in 'userProvidedPassword' string or data. // get EMSecureDataFactory from EzioMobileContext and assign it to 'secureDataFactory' EMSecureString password = [secureDataFactory secureStringWithString:userProvidedPassword]; BOOL result = [passwordManager setPassword:&error]; if (!result) { // manage error here } } - Login. Next, you simply need to login using -loginWithPassword:error: or its asynchronous equivalent -loginWithPassword:completionHandler: to unlock all functionalities represented by the EMPasswordDomain. The EMPasswordManager will remain logged in until -logout: is called.
No Password
- If you wish to use the functionalities represented by the EMPasswordDomain without the use of a password, use -login: or its asynchronous equivalent –loginWithCompletionHandler: to login without using a password. As long as no password was set, you can call -login: without needing to provide a password.
- Usage of the SDK without setting a proper password is strongly discouraged as it introduces a serious security weakness in your application. Note that as long as the -login:, -loginWithPassword:completionHandler:, -removePassword:error: or -removePassword:completionHandler: methods are never used, no security weakness will be introduced even if the password is not yet set.
-
Password domains are protected with passwords and reside in the
Documentsdirectory of an your application container. Be very careful when managing local files as this will have severe impact on the SDK’s operations such as when those files generated by the SDK are accidentally deleted usingNSFileManager. - Tasks can take considerable amount of time and may potentially block the UI if executed on the main thread.
See
EMEzioMobileContext, EMPasswordDomain
See moreSince
3.0
Declaration
Objective-C
@protocol EMPasswordManager <NSObject>Swift
protocol EMPasswordManager : NSObjectProtocol -
Set a password. The first step when using the EMPasswordManager is to set a password. The password should be provided by an outside source (the application user, through a secured communication channel with a server, etc.).
-
A protocol that carries authentication input as a user’s PIN. This is used when operation requires not only an authentication mode but also user input.
Since
3.2Declaration
Objective-C
@protocol EMPinAuthInput <NSCopying, EMAuthInput, EMSecureContainer>Swift
protocol EMPinAuthInput : EMAuthInput, EMSecureContainer -
A protocol that represents pin authentication mode.
Since
3.2Declaration
Objective-C
@protocol EMPinAuthMode <EMAuthMode>Swift
protocol EMPinAuthMode : EMAuthMode -
Pin policy protocol.
Since
4.7Declaration
Objective-C
@protocol EMPinPolicy <NSObject>Swift
protocol EMPinPolicy : NSObjectProtocol -
A protocol that represents a rule to apply to a PIN. If the rule is found to be broken, then the PIN will not be accepted.
Applicable to tokens that can change their PIN.
Since
2.1Declaration
Objective-C
@protocol EMPinRule <NSObject>Swift
protocol EMPinRule : NSObjectProtocol -
A protocol representing a DS primitive.
See moreDeclaration
Objective-C
@protocol EMPrimitive <NSObject>Swift
protocol EMPrimitive : NSObjectProtocol -
Interface of the secure storage object. See EMSecureStorageManager to query secure storage objects.
Note:
Before calling any method of EMPropertyStorage, make sure you have already logged in to password manager first. See EMPasswordManager.See moreSince
3.1Declaration
Objective-C
@protocol EMPropertyStorage <NSObject>Swift
protocol EMPropertyStorage : NSObjectProtocol -
A protocol representing a secure byte array object in memory.
See moreDeclaration
Objective-C
@protocol EMSecureByteArray <EMSecureContainer>Swift
protocol EMSecureByteArray : EMSecureContainer -
A protocol representing a secure container object in memory.
See moreDeclaration
Objective-C
@protocol EMSecureContainer <NSObject, NSCopying>Swift
protocol EMSecureContainer : NSCopying, NSObjectProtocol -
Secure Container Factory
See moreDeclaration
Objective-C
@protocol EMSecureContainerFactory <NSObject>Swift
protocol EMSecureContainerFactory : NSObjectProtocol -
The input builder v2 class that enables to build a secure input UI (secure keypad).
The secure input UI does not use the native UIKit keypad component but rather draws itself based on the configuration provided.
It supports the build of the secure input UI in both full screen and dialog mode, single or double entry UI. It also provides the flexibility for the application maker to fully customize the top screen UI or even override the custom OK button behavior.
The output of the secure keypad could be EMPinAuthInput or NSData. The integrator shall decide on which API to use depends on the application use case.
See moreSince
4.4Declaration
Objective-C
@protocol EMSecureInputBuilder <NSObject>Swift
protocol EMSecureInputBuilder : NSObjectProtocol -
Declaration
Objective-C
@protocol EMSecureInputCustomUiDelegate <NSObject>Swift
protocol EMSecureInputCustomUiDelegate : NSObjectProtocol -
Declaration
Objective-C
@protocol EMSecureInputUi <NSObject>Swift
protocol EMSecureInputUi : NSObjectProtocol -
The Secure Storage Manager is a high level interface that allows to manage Property Storage objects for storing sensitive data.
See moreSince
3.1Declaration
Objective-C
@protocol EMSecureStorageManager <NSObject>Swift
protocol EMSecureStorageManager : NSObjectProtocol -
A protocol representing a secure container object in memory.
See moreDeclaration
Objective-C
@protocol EMSecureString <EMSecureByteArray>Swift
protocol EMSecureString : EMSecureByteArray -
Declaration
Objective-C
@protocol EMSelectableKey <NSObject>Swift
protocol EMSelectableKey : NSObjectProtocol -
A protocol representing a selection dialog (SD) primitive.
This primitive has type
EMPrimitiveTypeSD.The allowed input format is
See moreEMPrimitiveInputFormatFixed.Declaration
Objective-C
@protocol EMSelectionInputDialogPrimitive <EMInputPrimitive>Swift
protocol EMSelectionInputDialogPrimitive : EMInputPrimitive -
A protocol representing the CAP settings for soft tokens.
See moreDeclaration
Objective-C
@protocol EMSoftCapSettings <NSObject>Swift
protocol EMSoftCapSettings : NSObjectProtocol -
Soft CAP token.
Declaration
Objective-C
@protocol EMSoftCapToken <NSObject, EMCapToken>Swift
protocol EMSoftCapToken : EMCapToken -
Declaration
Objective-C
@protocol EMSoftDcvOathSettings <NSObject>Swift
protocol EMSoftDcvOathSettings : NSObjectProtocol -
Declaration
Objective-C
@protocol EMSoftGemaltoOathSettings <NSObject>Swift
protocol EMSoftGemaltoOathSettings : NSObjectProtocol -
Declaration
Objective-C
@protocol EMSoftOathSettings <NSObject>Swift
protocol EMSoftOathSettings : NSObjectProtocol -
A protocol for general Soft OATH tokens.
Since
2.2Declaration
Objective-C
@protocol EMSoftOathToken <EMOathToken>Swift
protocol EMSoftOathToken : EMOathToken -
A protocol that represents authentication input which carries the information from user.
Warning
As biometric fingerprint methods may request user to present its fingerprint through the TouchId UI, it is recommended that developer avoid to call these methods on the main thread, to limit the risk of blocking or freezing the handset. Developer should use the biometric fingerprint methods on a separate thread, as describe in the example below// dispatch a new thread to deactivate non silently dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
[token deactivateAuthModeWithInput:bioFpAuthInput error:&error]; //some logic //update UI dispatch_async(dispatch_get_main_queue (), ^{ … }}
Warning
In iOS8, two calls in a row of biometric methods; using the TouchID UI to authenticate the user, will not work. The second call will return an error code without presenting the TouchID UI to the user. So application should respect this constraint, and for example, not try to compute two OTP consecutively. However, if it is really needed, developers can add a sleep instruction (of 1 second or more) between the two biometric calls to make it work.
Since
4.6
Declaration
Objective-C
@protocol EMSystemBioFingerprintAuthInput <EMAuthInput>Swift
protocol EMSystemBioFingerprintAuthInput : EMAuthInput -
A protocol that represents BioFingerprint authentication mode.
Since
4.6Declaration
Objective-C
@protocol EMSystemBioFingerprintAuthMode <EMAuthMode>Swift
protocol EMSystemBioFingerprintAuthMode : EMAuthMode -
A protocol that represents authentication input which carries the information from user.
Since
4.6Declaration
Objective-C
@protocol EMSystemFaceAuthInput <EMAuthInput>Swift
protocol EMSystemFaceAuthInput : EMAuthInput -
A protocol that represents Native Face authentication mode.
Since
4.6Declaration
Objective-C
@protocol EMSystemFaceAuthMode <EMAuthMode>Swift
protocol EMSystemFaceAuthMode : EMAuthMode -
A protocol representing a DS template.
See moreDeclaration
Objective-C
@protocol EMTemplate <NSObject>Swift
protocol EMTemplate : NSObjectProtocol -
Declaration
Objective-C
@protocol EMTextPrimitive <EMPrimitive>Swift
protocol EMTextPrimitive : EMPrimitive -
The EMToken protocol represents user’s credentials known as tokens.
See moreDeclaration
Objective-C
@protocol EMToken <NSObject, EMAuthenticatable>Swift
protocol EMToken : EMAuthenticatable -
The manager to create and retrieve tokens.
See moreDeclaration
Objective-C
@protocol EMTokenManager <NSObject>Swift
protocol EMTokenManager : NSObjectProtocol -
Declaration
Objective-C
@protocol EMTokenPolicySwift
protocol EMTokenPolicy -
Declaration
Objective-C
@protocol EMWipeable <NSObject>Swift
protocol EMWipeable : NSObjectProtocol -
The protocol contains all functions to the app integrators to interact with Secure Log
See moreDeclaration
Objective-C
@protocol SecureLog <NSObject>Swift
protocol SecureLog : NSObjectProtocol
Protocols Reference