| Package | Description |
|---|---|
| com.auth0.jwt | |
| com.auth0.jwt.impl | |
| com.auth0.jwt.interfaces |
| Modifier and Type | Method and Description |
|---|---|
static DecodedJWT |
JWT.decode(String token)
Decode a given Json Web Token.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
NullClaim.as(Class<T> tClazz) |
<T> T[] |
NullClaim.asArray(Class<T> tClazz) |
<T> List<T> |
NullClaim.asList(Class<T> tClazz) |
Map<String,Object> |
NullClaim.asMap() |
Header |
JWTParser.parseHeader(String json) |
Payload |
JWTParser.parsePayload(String json) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Claim.as(Class<T> tClazz)
Get this Claim as a custom type T.
|
<T> T[] |
Claim.asArray(Class<T> tClazz)
Get this Claim as an Array of type T.
|
<T> List<T> |
Claim.asList(Class<T> tClazz)
Get this Claim as a List of type T.
|
Map<String,Object> |
Claim.asMap()
Get this Claim as a generic Map of values.
|
Header |
JWTPartsParser.parseHeader(String json)
Parses the given JSON into a Header instance.
|
Payload |
JWTPartsParser.parsePayload(String json)
Parses the given JSON into a Payload instance.
|
Copyright © 2017. All rights reserved.