Package org.apache.oltu.oauth2.jwt
Class Header
- java.lang.Object
-
- org.apache.oltu.commons.json.CustomizableEntity
-
- org.apache.oltu.oauth2.jwt.Header
-
public final class Header extends CustomizableEntity
Represents the Header as defined in the 6.1 section of the JWT specification.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
Returns thealg
JWT Header parameter.java.lang.String
getContentType()
Returns thecty
JWT Header parameter.java.lang.String
getType()
Returns thetyp
JWT Header parameter.java.lang.String
toString()
-
Methods inherited from class org.apache.oltu.commons.json.CustomizableEntity
getCustomField, getCustomFields
-
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Returns thetyp
JWT Header parameter.- Returns:
- the
typ
JWT Header parameter.
-
getAlgorithm
public java.lang.String getAlgorithm()
Returns thealg
JWT Header parameter.- Returns:
- the
alg
JWT Header parameter.
-
getContentType
public java.lang.String getContentType()
Returns thecty
JWT Header parameter.- Returns:
- the
cty
JWT Header parameter.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCustomizableEntity
-
-