org.apache.cxf.rs.security.oauth2.jwt
Class JwtTokenReaderWriter
java.lang.Object
org.apache.cxf.rs.security.oauth2.jwt.JwtTokenReaderWriter
- All Implemented Interfaces:
- JwtHeadersReader, JwtHeadersWriter, JwtTokenReader, JwtTokenWriter
public class JwtTokenReaderWriter
- extends Object
- implements JwtTokenReader, JwtTokenWriter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JwtTokenReaderWriter
public JwtTokenReaderWriter()
headersToJson
public String headersToJson(JwtHeaders headers)
- Specified by:
headersToJson in interface JwtHeadersWriter
claimsToJson
public String claimsToJson(JwtClaims claims)
- Specified by:
claimsToJson in interface JwtTokenWriter
tokenToJson
public JwtTokenJson tokenToJson(JwtToken token)
- Specified by:
tokenToJson in interface JwtTokenWriter
fromJsonHeaders
public JwtHeaders fromJsonHeaders(String headersJson)
- Specified by:
fromJsonHeaders in interface JwtHeadersReader
fromJsonClaims
public JwtClaims fromJsonClaims(String claimsJson)
- Specified by:
fromJsonClaims in interface JwtTokenReader
fromJson
public JwtToken fromJson(JwtTokenJson pair)
- Specified by:
fromJson in interface JwtTokenReader
setFormat
public void setFormat(boolean format)
Apache CXF