OperationHeader

public struct OperationHeader : Codable

A type that represents a UAF message Request and Response header.

  • upv

    The UAF protocol version (upv).

    Declaration

    Swift

    public let upv: Version
  • The name of FIDO operation (op) this message relates to.

    Declaration

    Swift

    public let operation: Operation
  • The application identifier that the relying party would like to assert.

    Declaration

    Swift

    public let appID: String?
  • A session identifier created by the relying party.

    Declaration

    Swift

    public let serverData: String?
  • The list of UAF Message Extensions.

    Declaration

    Swift

    public let extensions: [Extension]?
  • A new OperationHeader instance.

    Declaration

    Swift

    public init(upv: Version, operation: Operation, appID: String? = nil, serverData: String?, extensions: [Extension]? = nil)

    Parameters

    upv

    The UAF protocol version (upv).

    operation

    The name of FIDO operation (op) this message relates to.

    appID

    The application identifier that the relying party would like to assert.

    serverData

    A session identifier created by the relying party.

    extensions

    The list of UAF Message Extensions.