Classes
The following classes are available globally.
-
FRAuthenticator is an abstraction layer of FRAuthenticator SDK and is responsible to create, and manage Account, and Mechanism objects with StorageClient
See moreDeclaration
Swift
public class FRAClient : NSObject
-
Account represents an account information of authentication methods
See moreDeclaration
Swift
public class Account : NSObject, NSSecureCoding, Codable
-
Mechanism class represents generic auth type, and is base class of all Mechanism (authentication type) in FRAuthenticator SDK
See moreDeclaration
Swift
public class Mechanism : NSObject, NSSecureCoding, Codable
-
HOTPMechanism represents HMAC-based OTP Auth and is responsible for its related operation
See moreDeclaration
Swift
public class HOTPMechanism : OathMechanism
-
OathTokenCode represents OTP credentials as an object generated with HOTPMechnism, and/or TOTPMechanism
See moreDeclaration
Swift
public class OathTokenCode : NSObject, Codable
-
TOTPMechanism represents Time-based OTP Auth and is responsible for its related operation
See moreDeclaration
Swift
public class TOTPMechanism : OathMechanism
-
Notification class represents Push Notification message delivered to SDK (application) for registered PushMechanism
See moreDeclaration
Swift
public class PushNotification : NSObject, NSSecureCoding, Codable
-
The Device Tampering policy checks the integrity of device’s software and hardware. It uses the
FRJailbreakDectector
available in theFRCore
framework. The class analyzes the device by using multiple device tamper detectors and returns the highest score in the range between 0.0 to 1.0 from all the detectors, indicating how likely the device is Jailbroken: 0.0 - not likely, 0.5 - likely, 1.0 -very likely.The policy receives the
score
value as parameter to use as reference on determine if the device is tampered. If the parameter is not passed, the policy will use thedefaultThresholdScore
.JSON Policy format: {“deviceTampering”: {“score”: 0.8}}
See moreDeclaration
Swift
public class DeviceTamperingPolicy : FRAPolicy
-
The Policy Evaluator is used by the SDK to enforce Policy rules, such as Device Tampering Policy. It consist of one or more
See moreFRAPolicy
objects. Each Policy contain instructions that determine whether it comply to a particular condition at a particular time.Declaration
Swift
public class FRAPolicyEvaluator
-
FRAPushHandler is mainly responsible to handle PushNotification activities in application layer and handling incoming Device Token, and Notification from the application.
See moreDeclaration
Swift
public class FRAPushHandler : NSObject