In AadIssuerValidator return a ValueTask<string> instead of a Task<string>. See Issue #2286 and PR [https://redirect.github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/2287] for details.
Deprecate int? JwtPayload.Exp, .Iat, and .Nbf. See issue #2266 for details, #92, and #1525.
Add nullables to the properties in WsFederationMessage. See issue #2240 for details.
Fix regression where JsonWebToken.TryGetPayloadValue() was not compatible with dictionary types. See issue #2246 for details.
Fix regression where dictionary claims added to SecurityTokenDescriptor.Claims are no longer correctly serialized. See issue #2245 for details.
Fix regression with a Y2038 bug. See issue #2261 for details.
Fix a regression where claims with multiple values are incorrectly serialized. See #2244 for details.
Performance improvements:
Remove sync-over-async pattern with JsonWebTokens.ValidateToken, which when in the hot path can lead to threadpool starvation. See issue #2253 for details.
Perf testing using brenchmark dotnet and crank, similar to aspnetcore, to better gauge requests per second perf impacts. See issue #2232 for details.
Use optimistic synchronization in JsonWebToken.Audiences. See PR for details.
Reduce allocations when enumerating over collections. See PR for details.
In AadIssuerValidator return a ValueTask<string> instead of a Task<string>. See Issue #2286 and PR [https://redirect.github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/2287] for details.
Deprecate int? JwtPayload.Exp, .Iat, and .Nbf. See issue #2266 for details, #92, and #1525.
Add nullables to the properties in WsFederationMessage. See issue #2240 for details.
Fix regression where JsonWebToken.TryGetPayloadValue() was not compatible with dictionary types. See issue #2246 for details.
Fix regression where dictionary claims added to SecurityTokenDescriptor.Claims are no longer correctly serialized. See issue #2245 for details.
Fix regression with a Y2038 bug. See issue #2261 for details.
Fix a regression where claims with multiple values are incorrectly serialized. See #2244 for details.
Performance improvements:
Remove sync-over-async pattern with JsonWebTokens.ValidateToken, which when in the hot path can lead to threadpool starvation. See issue #2253 for details.
Perf testing using brenchmark dotnet and crank, similar to aspnetcore, to better gauge requests per second perf impacts. See issue #2232 for details.
Use optimistic synchronization in JsonWebToken.Audiences. See PR for details.
Reduce allocations when enumerating over collections. See PR for details.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps System.IdentityModel.Tokens.Jwt from 5.3.0 to 7.0.2.
Release notes
Sourced from System.IdentityModel.Tokens.Jwt's releases.
... (truncated)
Changelog
Sourced from System.IdentityModel.Tokens.Jwt's changelog.
... (truncated)
Commits
0118c6f
Update version after release (#2337)70c30b4
fixed null ref, claim as string was nulld7299a7
Updates changelog with PR link (#2334)002b197
Update changelog for 7.0.1 release (#2332)cb46565
GetPayloadClaim<object>("aud") will return a single string when aud is a simp...ba30608
Fix build on macOS (Bash 3.2)d8a5f6e
update to RC 1 for github actioneeaa61b
Fix typo in TokenValidationParameters (#2318)d7f2e2d
Add new benchmarks (#2316)e541808
update next version number to 7.0.1 (#2312)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show