Structures

The following structures are available globally.

  • Contains OTP code information, including the actual code and validity details.

    This class provides comprehensive information about a generated OTP code, including timing information for TOTP codes and counter information for HOTP codes.

    See more

    Declaration

    Swift

    public struct OathCodeInfo : Codable, Sendable
  • Represents an OATH (TOTP/HOTP) credential. This model holds all necessary information to generate OTP codes and identify the credential.

    Note

    The secret key is stored securely and not exposed in the public API.
    See more

    Declaration

    Swift

    public struct OathCredential : Codable, Identifiable, Sendable, CustomStringConvertible, CustomReflectable
  • Security options for OATH keychain storage. Provides enhanced security configurations including biometric authentication.

    See more

    Declaration

    Swift

    public struct OathKeychainSecurityOptions : Sendable