Type Aliases

The following type aliases are available globally.

  • Random generator function type

    Declaration

    Swift

    public typealias Random<T> = (Int) throws -> T
  • Function that returns the current date/now

    Declaration

    Swift

    public typealias TimeProvider = () -> Date
  • VerifierCode

    Declaration

    Swift

    public typealias VerifierCode = String
  • IDP Scope

    Declaration

    Swift

    public typealias IDPScope = String