| Exceptions and Description |
|---|
| io.jsonwebtoken.SignatureException
in favor of
SecurityException; this class will be removed before 1.0 |
| Field and Description |
|---|
| io.jsonwebtoken.Header.DEPRECATED_COMPRESSION_ALGORITHM
use
Header.COMPRESSION_ALGORITHM instead. |
| Method and Description |
|---|
| io.jsonwebtoken.JwtParser.base64UrlDecodeWith(Decoder see
JwtParserBuilder.base64UrlDecodeWith(Decoder).
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 |
| io.jsonwebtoken.JwtParser.deserializeJsonWith(Deserializer
see
JwtParserBuilder.deserializeJsonWith(Deserializer) )}.
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 |
| io.jsonwebtoken.Jwts.parser()
use
Jwts.parserBuilder() instead. See JwtParserBuilder for usage details.
Migration to new method structure is minimal, for example: Old code:
New code:
NOTE: this method will be removed before version 1.0 |
| io.jsonwebtoken.JwtParser.require(String, Object)
see
JwtParserBuilder.require(String, Object).
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 |
| io.jsonwebtoken.JwtParser.requireAudience(String)
see
JwtParserBuilder.requireAudience(String).
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 |
| io.jsonwebtoken.JwtParser.requireExpiration(Date)
see
JwtParserBuilder.requireExpiration(Date).
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 |
| io.jsonwebtoken.JwtParser.requireId(String)
see
JwtParserBuilder.requireId(String).
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 |
| io.jsonwebtoken.JwtParser.requireIssuedAt(Date)
see
JwtParserBuilder.requireIssuedAt(Date).
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 |
| io.jsonwebtoken.JwtParser.requireIssuer(String)
see
JwtParserBuilder.requireIssuer(String).
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 |
| io.jsonwebtoken.JwtParser.requireNotBefore(Date)
see
JwtParserBuilder.requireNotBefore(Date).
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 |
| io.jsonwebtoken.JwtParser.requireSubject(String)
see
JwtParserBuilder.requireSubject(String).
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 |
| io.jsonwebtoken.JwtParser.setAllowedClockSkewSeconds(long)
see
JwtParserBuilder.setAllowedClockSkewSeconds(long).
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 |
| io.jsonwebtoken.JwtParser.setClock(Clock)
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 |
| io.jsonwebtoken.JwtParser.setCompressionCodecResolver(CompressionCodecResolver)
see
JwtParserBuilder.setCompressionCodecResolver(CompressionCodecResolver).
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 |
| io.jsonwebtoken.JwtParser.setSigningKey(byte[])
see
JwtParserBuilder.setSigningKey(byte[]).
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 |
| io.jsonwebtoken.JwtParser.setSigningKey(Key)
see
JwtParserBuilder.setSigningKey(Key).
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 |
| io.jsonwebtoken.JwtParser.setSigningKey(String)
see
JwtParserBuilder.setSigningKey(String).
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 |
| io.jsonwebtoken.JwtParserBuilder.setSigningKey(String)
in favor of
JwtParserBuilder.setSigningKey(Key) as explained in the above Deprecation Notice,
and will be removed in 1.0.0. |
| io.jsonwebtoken.JwtParser.setSigningKeyResolver(SigningKeyResolver)
see
JwtParserBuilder.setSigningKeyResolver(SigningKeyResolver).
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 |
| io.jsonwebtoken.JwtBuilder.signWith(SignatureAlgorithm, byte[])
as of 0.10.0: use
Keys.hmacShaKeyFor(bytes) to
obtain the Key and then invoke JwtBuilder.signWith(Key) or JwtBuilder.signWith(Key, SignatureAlgorithm).
This method will be removed in the 1.0 release. |
| io.jsonwebtoken.JwtBuilder.signWith(SignatureAlgorithm, Key)
since 0.10.0: use
JwtBuilder.signWith(Key, SignatureAlgorithm) instead. This method will be removed
in the 1.0 release. |
| io.jsonwebtoken.JwtBuilder.signWith(SignatureAlgorithm, String)
as of 0.10.0: use
JwtBuilder.signWith(Key) or JwtBuilder.signWith(Key, SignatureAlgorithm) instead. This
method will be removed in the 1.0 release. |
Copyright © 2014–2022 jsonwebtoken.io. All rights reserved.