Enumerations

The following enumerations are available globally.

  • Represent different errors that might occur in Fido2 client operations.

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum TGFError : NSInteger {}
  • An enumeration that specifies the type of FIDO2 operation to be performed.

    This enum is used to distinguish between the two fundamental FIDO2 ceremonies: registering a new credential and authenticating with an existing one.

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum TGFFido2OperationType : NSUInteger {}
  • An enumeration that represents the logical keys on the secure keyboard.

    This enum is used by the TGFKeyboardDelegate to inform the application about user input, allowing it to update the UI accordingly (e.g., adding or removing characters from a secure text field).

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum TGFKeyboardKey : NSInteger {}

    Swift

    enum TGFKeyboardKey : Int, @unchecked Sendable
  • An enum describing the purpose of the secure keyboard at a given moment.

    The application should use this enum to update its UI accordingly (e.g., by changing prompt text).

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum TGFKeyboardUsage : NSInteger {}
  • Defines the specific error codes for passcode rule violations within the TGFPasscodeRuleErrorDomain.

    @since 1.3.0

    See more

    Declaration

    Objective-C

    enum TGFPasscodeRuleError : NSInteger {}
  • Defines the methods used to verify a user’s presence during a FIDO2 operation.

    @since 1.0.0

    See more

    Declaration

    Objective-C

    enum TGFVerifyMethod : NSUInteger {}