public interface JWTPartsParser
| Modifier and Type | Method and Description |
|---|---|
Header |
parseHeader(String json)
Parses the given JSON into a Header instance.
|
Payload |
parsePayload(String json)
Parses the given JSON into a Payload instance.
|
Payload parsePayload(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(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.Copyright © 2017. All rights reserved.