Class JwtDecoder
- java.lang.Object
-
- org.eclipse.jetty.security.openid.JwtDecoder
-
public class JwtDecoder extends java.lang.Object
Used to decode the ID Token from the base64 encrypted JSON Web Token (JWT).
-
-
Constructor Summary
Constructors Constructor Description JwtDecoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
decode(java.lang.String jwt)
Decodes a JSON Web Token (JWT) into a Map of claims.(package private) static byte[]
padJWTSection(java.lang.String unpaddedEncodedJwtSection)
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
-
Method Detail
-
decode
public static java.util.Map<java.lang.String,java.lang.Object> decode(java.lang.String jwt)
Decodes a JSON Web Token (JWT) into a Map of claims.- Parameters:
jwt
- the JWT to decode.- Returns:
- the map of claims encoded in the JWT.
-
padJWTSection
static byte[] padJWTSection(java.lang.String unpaddedEncodedJwtSection)
-
-