Package org.apache.oltu.oauth2.jwt
Class JWT
- java.lang.Object
-
- org.apache.oltu.oauth2.jwt.JWT
-
public class JWT extends java.lang.Object
This class contains constants used in the JWT implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JWT.Builder
A simpleJWT
builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClaimsSet
getClaimsSet()
Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.Header
getHeader()
Get the JWT Header as defined in the 6.1 section of the JWT specification.java.lang.String
getRawString()
Get the JWT raw string.java.lang.String
getSignature()
Get the JWT Signature.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-