Transaction

public struct Transaction : Equatable, Codable

A transaction to be confirmed by the user.

  • The list of available MIME content types [RFC2049] for a transaction.

    Declaration

    Swift

    public enum ContentType
  • The MIME Content-Type supported by the authenticator according to its metadata statement.

    Declaration

    Swift

    public let contentType: String
  • The Base64url encoded transaction content according to the contentType to be shown to the user.

    Declaration

    Swift

    public let content: String
  • The transaction content PNG characteristics. Must be present if the contentType is “image/png”.

    Declaration

    Swift

    public let tcDisplayPNGCharacteristics: DisplayPNGCharacteristicsDescriptor?