JWTHeader

public struct JWTHeader

A helper struct to construct JWT Header JSON String

  • Method to add headers

    Declaration

    Swift

    public mutating func add(_ header: JWTHeaderKey, with value: Any)
  • Method to get String representation of the header

    Declaration

    Swift

    public func stringRepresentation() -> String?