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 StringgetAlgorithm()Returns thealgJWT Header parameter.StringgetContentType()Returns thectyJWT Header parameter.StringgetType()Returns thetypJWT Header parameter.StringtoString()-
Methods inherited from class org.apache.oltu.commons.json.CustomizableEntity
getCustomField, getCustomFields
-
-
-
-
Method Detail
-
getType
public String getType()
Returns thetypJWT Header parameter.- Returns:
- the
typJWT Header parameter.
-
getAlgorithm
public String getAlgorithm()
Returns thealgJWT Header parameter.- Returns:
- the
algJWT Header parameter.
-
getContentType
public String getContentType()
Returns thectyJWT Header parameter.- Returns:
- the
ctyJWT Header parameter.
-
toString
public String toString()
- Overrides:
toStringin classCustomizableEntity
-
-