public interface JWTPartsParser
| Modifier and Type | Method and Description |
|---|---|
Header |
parseHeader(java.lang.String json)
Parses the given JSON into a Header instance.
|
Payload |
parsePayload(java.lang.String json)
Parses the given JSON into a Payload instance.
|
Payload parsePayload(java.lang.String json) throws JWTDecodeException
json - the content of the Payload in a JSON representation.JWTDecodeException - if the json doesn't have a proper JSON format.Header parseHeader(java.lang.String json) throws JWTDecodeException
json - the content of the Header in a JSON representation.JWTDecodeException - if the json doesn't have a proper JSON format.