Package | Description |
---|---|
io.jsonwebtoken |
Modifier and Type | Method and Description |
---|---|
JwtParser |
JwtParser.setClock(Clock clock)
Deprecated.
see
JwtParserBuilder.setClock(Clock) .
To construct a JwtParser use the corresponding builder via Jwts.parserBuilder() . This will construct an
immutable JwtParser.
NOTE: this method will be removed before version 1.0 |
JwtParserBuilder |
JwtParserBuilder.setClock(Clock clock)
Sets the
Clock that determines the timestamp to use when validating the parsed JWT. |
Copyright © 2014–2020 jsonwebtoken.io. All rights reserved.