Protocols

The following protocols are available globally.

  • A type that can represent a generator for a given type of one-time password

    This object is used for validation as well as storage for the actual algorithm generation data

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, watchOS 6.0, tvOS 13.0, *)
    public protocol GeneratorProtocol
  • A type that can represent one-time password objects

    This object contains the metadata for a Password

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, watchOS 6.0, tvOS 13.0, *)
    public protocol PasswordProtocol : Equatable