Package | Description |
---|---|
io.jsonwebtoken |
Modifier and Type | Method and Description |
---|---|
JwtParser |
JwtParser.base64UrlDecodeWith(Decoder<String,byte[]> base64UrlDecoder)
Deprecated.
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 |
JwtParser |
JwtParserBuilder.build()
Returns an immutable/thread-safe
JwtParser created from the configuration from this JwtParserBuilder. |
JwtParser |
JwtParser.deserializeJsonWith(Deserializer<Map<String,?>> deserializer)
Deprecated.
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 |
static JwtParser |
Jwts.parser()
Deprecated.
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 |
JwtParser |
JwtParser.require(String claimName,
Object value)
Deprecated.
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 |
JwtParser |
JwtParser.requireAudience(String audience)
Deprecated.
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 |
JwtParser |
JwtParser.requireExpiration(Date expiration)
Deprecated.
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 |
JwtParser |
JwtParser.requireId(String id)
Deprecated.
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 |
JwtParser |
JwtParser.requireIssuedAt(Date issuedAt)
Deprecated.
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 |
JwtParser |
JwtParser.requireIssuer(String issuer)
Deprecated.
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 |
JwtParser |
JwtParser.requireNotBefore(Date notBefore)
Deprecated.
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 |
JwtParser |
JwtParser.requireSubject(String subject)
Deprecated.
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 |
JwtParser |
JwtParser.setAllowedClockSkewSeconds(long seconds)
Deprecated.
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 |
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 |
JwtParser |
JwtParser.setCompressionCodecResolver(CompressionCodecResolver compressionCodecResolver)
Deprecated.
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 |
JwtParser |
JwtParser.setSigningKey(byte[] key)
Deprecated.
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 |
JwtParser |
JwtParser.setSigningKey(Key key)
Deprecated.
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 |
JwtParser |
JwtParser.setSigningKey(String base64EncodedSecretKey)
Deprecated.
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 |
JwtParser |
JwtParser.setSigningKeyResolver(SigningKeyResolver signingKeyResolver)
Deprecated.
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 |
Copyright © 2014–2020 jsonwebtoken.io. All rights reserved.