Package io.fusionauth.jwt.domain
Class Header
java.lang.Object
io.fusionauth.jwt.domain.Header
JSON Object Signing and Encryption (JOSE) Header
- Author:
- Daniel DeGroff
-
Field Details
-
algorithm
-
properties
-
type
-
-
Constructor Details
-
Header
public Header() -
Header
-
-
Method Details
-
anyGetter
Special getter used to flatten additional header properties into top level values. Necessary to correctly serialize this object.- Returns:
- a map of properties to be serialized as if they were actual properties of this class.
-
getString
- Parameters:
name- the name of the key- Returns:
- the string value of the object found by the requested key.
-
get
- Parameters:
name- the name of the key- Returns:
- the string value of the object found by the requested key.
-
set
Add a property to the JWT header.- Parameters:
name- The name of the header property.value- The value of the header property.- Returns:
- this.
-
toString
-
equals
-
hashCode
public int hashCode()
-