Protocols
The following protocols are available globally.
-
A protocol that defines the common interface for a FIDO2 authenticator.
An authenticator is a component responsible for user verification, such as through a passcode or biometrics. This protocol provides the essential methods for managing the lifecycle of the user’s credential associated with the authenticator, including creation, deletion, and checking its status. @since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFAuthenticator <NSObject>Swift
protocol TGFAuthenticator : NSObjectProtocol -
A delegate protocol that an application can implement to customize the user experience for the proprietary biometric authenticator.
@since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFBiometricAuthenticatorDelegate <NSObject>Swift
protocol TGFBiometricAuthenticatorDelegate : NSObjectProtocol -
Defines the interface for a secure keyboard, providing a
UIViewfor display and methods to manage its state and events.@since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFKeyboard <NSObject>Swift
protocol TGFKeyboard : NSObjectProtocol -
A delegate protocol for responding to events from a secure keyboard view.
An object that adopts this protocol is responsible for providing the keyboard’s layout information and for handling user interactions, such as key presses and authentication results.
@since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFKeyboardDelegate <NSObject>Swift
protocol TGFKeyboardDelegate : NSObjectProtocol -
A delegate protocol that an application must implement to handle UI interactions for the Passcode Authenticator.
The FIDO2 SDK relies on the conforming delegate to display the secure keyboard and to inform the user about the status of passcode operations (enrollment, authentication, etc.).
Note
All callbacks are invoked on the Main thread.@since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFPasscodeAuthenticatorDelegate <NSObject>Swift
protocol TGFPasscodeAuthenticatorDelegate : NSObjectProtocol -
Declaration
Objective-C
@protocol TGFFido2Response <NSObject>Swift
protocol TGFFido2Response -
Represents an ongoing asynchronous FIDO2 operation.
An object conforming to this protocol is returned by methods like
-[TGFFido2Client respondWithArgs:completion:]and can be used to manage the operation (e.g., for cancellation).@since 1.0.0
Declaration
Objective-C
@protocol TGFFido2Task <NSObject>Swift
protocol TGFFido2Task -
A delegate protocol that an application must implement to handle user interactions during a FIDO2 operation. The FIDO2 SDK does not provide any UI and relies on the conforming delegate to display information and capture user input.
Note
All delegate callbacks are invoked on the Main thread.@since 1.0.0
See moreDeclaration
Objective-C
@protocol TGFFido2UiDelegate <NSObject>Swift
protocol TGFFido2UiDelegate : NSObjectProtocol
Protocols Reference