Package org.apache.oltu.oauth2.jwt
Class JWT
- java.lang.Object
 - 
- org.apache.oltu.oauth2.jwt.JWT
 
 
- 
public class JWT extends java.lang.ObjectThis class contains constants used in the JWT implementation. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJWT.BuilderA simpleJWTbuilder. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClaimsSetgetClaimsSet()Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.HeadergetHeader()Get the JWT Header as defined in the 6.1 section of the JWT specification.java.lang.StringgetRawString()Get the JWT raw string.java.lang.StringgetSignature()Get the JWT Signature.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getHeader
public Header getHeader()
Get the JWT Header as defined in the 6.1 section of the JWT specification.- Returns:
 - the JWT Header.
 
 
- 
getClaimsSet
public ClaimsSet getClaimsSet()
Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.- Returns:
 - the JWT Claims Set
 
 
- 
getSignature
public java.lang.String getSignature()
Get the JWT Signature.- Returns:
 - the JWT Signature.
 
 
- 
getRawString
public java.lang.String getRawString()
Get the JWT raw string.- Returns:
 - the JWT raw string
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -