Package io.jans.as.model.jwt
Class Jwt
java.lang.Object
io.jans.as.model.token.JsonWebResponse
io.jans.as.model.jwt.Jwt
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DPoP
JSON Web Token (JWT) is a compact token format intended for space constrained
 environments such as HTTP Authorization headers and URI query parameters.
 JWTs encode claims to be transmitted as a JSON object (as defined in RFC 4627)
 that is base64url encoded and digitally signed. Signing is accomplished using
 a JSON Web Signature (JWS). JWTs may also be optionally encrypted using JSON
 Web Encryption (JWE).
- Version:
- May 3, 2017
- Author:
- Javier Rojas Blum
- See Also:
- 
Field SummaryFields inherited from class io.jans.as.model.token.JsonWebResponseclaims, header
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull Jwtstatic JwtparseOrThrow(String encodedJwt) static JwtparseSilently(String encodedJwt) voidsetEncodedSignature(String encodedSignature) toString()
- 
Constructor Details- 
Jwtpublic Jwt()
 
- 
- 
Method Details- 
getEncodedSignature
- 
setEncodedSignature
- 
getSigningInput- Throws:
- InvalidJwtException
 
- 
parseOrThrow- Throws:
- InvalidJwtException
 
- 
parseSilently
- 
parse- Throws:
- InvalidJwtException
 
- 
toString- Overrides:
- toStringin class- JsonWebResponse
 
 
-