EMPinAuthService Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | EMAuthService |
| Declared in | EMPinAuthService.h |
+ defaultPinValidationRules
Default PinValidationRules for ‘changePinWithAuthInput’ operation.
+ (NSArray *)defaultPinValidationRulesReturn Value
The default pin validation rule set which contains All of rules as follow:
Availability
4.0
Declared In
EMPinAuthService.h
+ serviceWithModule:
Designated constructor. Returns the EMPinAuthService object created using the EMAuthModule
+ (EMPinAuthService *)serviceWithModule:(EMAuthModule *)moduleParameters
module |
an instance of EMAuthModule |
|---|
Return Value
EMPinAuthService module instance.
Availability
4.0
Declared In
EMPinAuthService.h
– createAuthInputWithString:error:
Creates an EMPinAuthInput from from a string.
- (id<EMPinAuthInput>)createAuthInputWithString:(NSString *)str error:(NSError **)errorParameters
str |
The string to securely store. The string will be converted to UTF-8 when stored in the EMPinAuthInput object. |
|---|---|
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
An EMPinAuthInput object that securely stores the data.
Availability
4.0
Declared In
EMPinAuthService.h
– createAuthInputWithString:encoding:error:
Creates an EMPinAuthInput from a string using a specific string encoding.
- (id<EMPinAuthInput>)createAuthInputWithString:(NSString *)str encoding:(NSStringEncoding)encoding error:(NSError **)errorParameters
str |
The string to securely store. |
|---|---|
encoding |
The string will be converted to this encoding when stored in the EMPinAuthInput object. |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
An EMPinAuthInput object that securely stores the data.
Availability
4.0
Discussion
Warning: This method does not guarantee that the given string and the given character set are compatible.
Declared In
EMPinAuthService.h
– createAuthInputWithData:error:
Creates an EMPinAuthInput from data.
- (id<EMPinAuthInput>)createAuthInputWithData:(NSData *)data error:(NSError **)errorParameters
data |
The data to securely store. |
|---|---|
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
An EMPinAuthInput object that securely stores the data.
Availability
4.0
Declared In
EMPinAuthService.h
– createAuthInputWithMutableData:wipeSource:error:
Creates an EMPinAuthInput from data.
- (id<EMPinAuthInput>)createAuthInputWithMutableData:(NSMutableData *)data wipeSource:(BOOL)wipeSource error:(NSError **)errorParameters
data |
The data to securely store. |
|---|---|
wipeSource |
If |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
An EMPinAuthInput object that securely stores the data.
Availability
4.0
Declared In
EMPinAuthService.h
– authMode
Gets an EMPinAuthMode.
- (id<EMPinAuthMode>)authModeAvailability
4.0
Declared In
EMPinAuthService.h
+ setPinValidationRules:
Set PinRules. This will be applied globally.
+ (void)setPinValidationRules:(NSArray *)pinRulesParameters
pinRules |
array of pin rules. See subclasses of EMPinRule. |
|---|
Availability
4.0
Declared In
EMPinAuthService.h