Protocols

The following protocols are available globally.

  • A protocol defining the capabilities and requirements for any device authenticator. Authenticators conforming to this protocol are responsible for key management (generation, authentication, deletion) and JWT signing operations specific to their authentication type (e.g., biometrics, PIN).

    See more

    Declaration

    Swift

    public protocol DeviceAuthenticator
  • A protocol for collecting a PIN from the user.

    Conforming types can provide custom UI for PIN collection.

    See more

    Declaration

    Swift

    public protocol PinCollector : AnyObject
  • Declaration

    Swift

    public protocol AuthenticatorConfig
  • A protocol for collecting user key selection when multiple keys are available. Conforming types can provide custom UI for selecting from multiple bound device keys.

    See more

    Declaration

    Swift

    public protocol UserKeySelector : Sendable