Classes
The following classes are available globally.
-
A concrete implementation of the
TGFAuthenticatorprotocol that uses a user-provided passcode for FIDO2 user verification.This class manages the entire lifecycle of a passcode credential, including its creation, deletion, and modification. It uses a delegate pattern to request the presentation of a secure keyboard UI when user interaction is required.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFPasscodeAuthenticator : NSObject <TGFAuthenticator>Swift
class TGFPasscodeAuthenticator : NSObject, TGFAuthenticator -
A utility class for globally configuring the behavior of the Passcode Authenticator.
@discussion By default, the FIDO2 SDK uses reasonable and secure settings. This class allows an application to customize certain behaviors, such as passcode complexity rules or keyboard appearance.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFPasscodeConfig : NSObjectSwift
class TGFPasscodeConfig : NSObject -
An abstract base class for defining rules that a passcode must adhere to.
@discussion This class is not intended to be used directly. Instead, create instances of its concrete subclasses (e.g., for length or complexity) and pass them to
+[TGFPasscodeConfig setPasscodeRules:error:]to enforce a passcode policy.@since 1.3.0
Declaration
Objective-C
@interface TGFPasscodeRule : NSObjectSwift
class TGFPasscodeRule : NSObject -
A concrete passcode rule that validates whether a passcode’s length falls within a globally configured range.
This rule enforces minimum and maximum length requirements for user passcodes. The length constraints are configured globally using the class methods provided. If a passcode’s length is outside the
minimumLengthandmaximumLengthbounds, validation will fail with a relevantNSError.This class is a subclass of
TGFPasscodeRuleand is used to enforce a passcode policy.@since 1.3.0
See moreDeclaration
Objective-C
@interface TGFPasscodeRuleLength : TGFPasscodeRuleSwift
class TGFPasscodeRuleLength : TGFPasscodeRule -
A concrete passcode rule that validates whether a passcode is a palindrome.
This rule prevents users from creating weak passcodes that read the same forwards and backwards, such as “12321” or “5445”. If the validation fails, an
NSErroris generated with a domain and code specific to this rule violation.This class is a subclass of
TGFPasscodeRuleand is used to enforce a passcode policy.@since 1.3.0
Declaration
Objective-C
@interface TGFPasscodeRulePalindrome : TGFPasscodeRuleSwift
class TGFPasscodeRulePalindrome : TGFPasscodeRule -
A concrete passcode rule that validates whether a passcode consists of a sequential series of digits.
This rule prevents users from creating weak passcodes that are easy to guess, such as ascending (“123456”) or descending (“654321”) sequences. If the validation fails, an
NSErroris generated with a domain and code specific to this rule violation.This class is a subclass of
TGFPasscodeRuleand is used to enforce a passcode policy. @since 1.3.0Declaration
Objective-C
@interface TGFPasscodeRuleSeries : TGFPasscodeRuleSwift
class TGFPasscodeRuleSeries : TGFPasscodeRule -
A concrete passcode rule that validates whether a passcode consists of all identical digits.
This rule prevents users from creating weak passcodes where all characters are the same, such as “111111” or “8888”. If the validation fails, an
NSErroris generated with a domain and code specific to this rule violation.This class is a subclass of
TGFPasscodeRuleand is used to enforce a passcode policy. @since 1.3.0Declaration
Objective-C
@interface TGFPasscodeRuleUniform : TGFPasscodeRuleSwift
class TGFPasscodeRuleUniform : TGFPasscodeRule -
Declaration
Objective-C
@interface TGFAuthenticatorDescriptor : NSObjectSwift
class TGFAuthenticatorDescriptor : NSObject -
Information about an authenticator that helps a user decide which authenticator to select for an FIDO2 request that matches multiple authenticators.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2AuthenticatorInfo : NSObjectSwift
class TGFFido2AuthenticatorInfo : NSObject -
Declaration
Objective-C
@interface TGFFido2AuthenticatorRegistrationInfo : TGFFido2AuthenticatorInfoSwift
class TGFFido2AuthenticatorRegistrationInfo : TGFFido2AuthenticatorInfo -
Declaration
Objective-C
@interface TGFFido2Client : NSObjectSwift
class TGFFido2Client : NSObject -
Declaration
Objective-C
@interface TGFFido2ClientFactory : NSObjectSwift
class TGFFido2ClientFactory : NSObject -
Provides a global configuration point for the FIDO2 SDK.
This class allows applications to customize security features and other behaviors of the SDK. By default, the SDK is configured for maximum security. Use the methods in this class to adjust settings like user verification policies, secure logging, and TLS Certificates.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2Config : NSObjectSwift
class TGFFido2Config : NSObject -
A class that holds common information for an ongoing operation started from TGFClient that the UI needs to display to the user.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2OperationInfo : NSObjectSwift
class TGFFido2OperationInfo : NSObject -
Represents a FIDO2 request for operations such as registration or authentication.
An instance of this class is created by the
TGFFido2RequestFactory.@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2Request : NSObjectSwift
class TGFFido2Request : NSObject -
A factory class used to create instances of
TGFFido2Requestfrom various sources, such as a JSON string or a native passkey request object.@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2RequestFactory : NSObjectSwift
class TGFFido2RequestFactory : NSObject -
An immutable object that encapsulates all the arguments required to process a FIDO2 request.
@since 1.0.0
See moreDeclaration
Objective-C
@interface TGFFido2RespondArgs : NSObjectSwift
class TGFFido2RespondArgs : NSObject -
Declaration
Objective-C
@interface TGFFido2RespondArgsBuilder : NSObjectSwift
class TGFFido2RespondArgsBuilder : NSObject
Classes Reference