org.apache.cxf.rs.security.jose.jwt
Class JwtTokenReaderWriter
java.lang.Object
org.apache.cxf.rs.security.jose.AbstractJoseObjectReaderWriter
org.apache.cxf.rs.security.jose.JoseHeadersReaderWriter
org.apache.cxf.rs.security.jose.jwt.JwtTokenReaderWriter
- All Implemented Interfaces:
- JoseHeadersReader, JoseHeadersWriter, JwtTokenReader, JwtTokenWriter
public class JwtTokenReaderWriter
- extends JoseHeadersReaderWriter
- implements JwtTokenReader, JwtTokenWriter
| Methods inherited from class org.apache.cxf.rs.security.jose.AbstractJoseObjectReaderWriter |
formatIfNeeded, fromJsonInternal, getClosingIndex, getCommaIndex, isWhiteSpace, readJwtObjectAsList, readJwtObjectAsMap, readPrimitiveValue, setFormat, toJson, toJsonInternal, toJsonInternal, toJsonInternal, toJsonInternal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JwtTokenReaderWriter
public JwtTokenReaderWriter()
claimsToJson
public String claimsToJson(JwtClaims claims)
- Specified by:
claimsToJson in interface JwtTokenWriter
tokenToJson
public JwtTokenJson tokenToJson(JwtToken token)
- Specified by:
tokenToJson in interface JwtTokenWriter
fromJsonClaims
public JwtClaims fromJsonClaims(String claimsJson)
- Specified by:
fromJsonClaims in interface JwtTokenReader
fromJson
public JwtToken fromJson(JwtTokenJson pair)
- Specified by:
fromJson in interface JwtTokenReader
fromJsonHeaders
public JwtHeaders fromJsonHeaders(String jsonHeaders)
- Specified by:
fromJsonHeaders in interface JoseHeadersReader- Overrides:
fromJsonHeaders in class JoseHeadersReaderWriter
Apache CXF