| Package | Description |
|---|---|
| com.auth0.jwt |
| Modifier and Type | Method and Description |
|---|---|
JWTSigner.Options |
JWTSigner.Options.setAlgorithm(Algorithm algorithm)
Algorithm to sign JWT with.
|
JWTSigner.Options |
JWTSigner.Options.setExpirySeconds(Integer expirySeconds)
Set JWT claim "exp" to current timestamp plus this value.
|
JWTSigner.Options |
JWTSigner.Options.setIssuedAt(boolean issuedAt)
Set JWT claim "iat" to current timestamp.
|
JWTSigner.Options |
JWTSigner.Options.setJwtId(boolean jwtId)
Set JWT claim "jti" to a pseudo random unique value (type 4 UUID).
|
JWTSigner.Options |
JWTSigner.Options.setNotValidBeforeLeeway(Integer notValidBeforeLeeway)
Set JWT claim "nbf" to current timestamp minus this value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JWTSigner.sign(Map<String,Object> claims,
JWTSigner.Options options)
Generate a JSON Web Token.
|
Copyright © 2016. All Rights Reserved.