Skip to content

Commit 0d3864d

Browse files
committed
updates from PR review
1 parent fef52cc commit 0d3864d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: MIGRATION_GUIDE.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ This guide captures the changes you should be aware of when planning and upgradi
1818
- Support for the ES256K algorithm has been removed, as it is disabled in Java 15+. The `Algorithm#ECDSA256K(ECDSAKeyProvider keyProvider)` and `Algorithm#ECDSA256K(ECPublicKey publicKey, ECPrivateKey privateKey)` methods have been removed.
1919
- `com.auth0.jwt.interfaces.Clock` has been removed. Instead, an implementation of `java.time.Clock` can be passed to the `BaseVerification` for testing purposes.
2020
- `com.auth0.jwt.impl.NullClaim` has been removed. `Claim#isNull` can be used to determine if a claim's value is `null`.
21-
- `com.auth0.jwt.impl.PublicClaims` was removed, and replaced by `com.auth0.jwt.StandardClaims` and `com.auth0.jwt.HeaderParams`.
21+
- `com.auth0.jwt.impl.PublicClaims` was removed, and replaced by `com.auth0.jwt.RegisteredClaims` and `com.auth0.jwt.HeaderParams`.
22+
- `com.auth0.jwt.interfaces.Verification#withAnyOfAudience` no longer provides a default implementation.
2223

2324
### Behavioral potentially breaking changes
2425

@@ -54,9 +55,9 @@ This class extends `InvalidClaimException` and represents that when validating a
5455

5556
This class contains constants representing common header parameter names.
5657

57-
#### `StandardClaims` added
58+
#### `RegisteredClaims` added
5859

59-
This class contains constants representing the standard claim names.
60+
This class contains constants representing the registered claim names.
6061

6162
#### `JWTCreator` new methods
6263

0 commit comments

Comments
 (0)