EMDeviceFingerprintTokenPolicy
Objective-C
@interface EMDeviceFingerprintTokenPolicy : NSObject
Swift
class EMDeviceFingerprintTokenPolicy : NSObject
This class is used to create device fingerprint source settings that are applied to a token when it is built.
-
Specifies if fingerprint data is checked before using them.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL failIfInvalid;Swift
var failIfInvalid: Bool { get } -
List for device fingerprint source to use.
Declaration
Objective-C
@property (nonatomic, copy, readonly) EMDeviceFingerprintSource *deviceFingerprintSource;Swift
@NSCopying var deviceFingerprintSource: EMDeviceFingerprintSource! { get } -
Default device fingerprint token policy source settings, with check enabled.
Declaration
Objective-C
+ (id)defaultDeviceFingerprintTokenPolicy;Swift
class func defaultDeviceFingerprintTokenPolicy() -> Any!Return Value
An instance of EMDeviceFingerprintTokenPolicy.
-
Build a new device fingerprint token policy.
Warning
If
aFailIfInvalidis set toYES, it still remains a probability of ½^16 that wrong device fingerprint data will not be detected.Declaration
Objective-C
- (id)initWithDeviceFingerprintSource: (EMDeviceFingerprintSource *)aDeviceFingerprintSource failIfInvalid:(BOOL)aFailIfInvalid;Swift
init!(deviceFingerprintSource aDeviceFingerprintSource: EMDeviceFingerprintSource!, failIfInvalid aFailIfInvalid: Bool)Parameters
aDeviceFingerprintSourceDevice fingerprint source to collect.
aFailIfInvalidSpecify if anti-cloning data must be checked before instantiating the token. If
YES, when a token is retrieved the token manager verifies if the anti-cloning matches a digest of the expected anti-cloning. If it does not match then an exception is thrown.Return Value
An instance of EMDeviceFingerprintTokenPolicy.
EMDeviceFingerprintTokenPolicy Class Reference