Package org.apache.oltu.oauth2.jwt
Class JWT
- java.lang.Object
-
- org.apache.oltu.oauth2.jwt.JWT
-
public class JWT extends Object
This 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.StringgetRawString()Get the JWT raw string.StringgetSignature()Get the JWT Signature.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 String getSignature()
Get the JWT Signature.- Returns:
- the JWT Signature.
-
getRawString
public String getRawString()
Get the JWT raw string.- Returns:
- the JWT raw string
-
-