Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to configuration files, dependency versions, and code improvements. The key changes focus on updating GitHub Actions workflows, modifying project dependencies, and enhancing code quality.
GitHub Actions Workflow Updates:
.github/workflows/codeql.yml
: UpdatedNET_VERSION
to '9.x' and changedgithub/codeql-action
versions tov3
forinit
,autobuild
, andanalyze
steps. [1] [2] [3] [4].github/workflows/linter.yml
: Updatedsuper-linter
action tov7.2.0
.Dependency and Framework Updates:
src/Directory.Build.props
: UpdatedNerdbank.GitVersioning
package version to3.6.146
.src/SimpleAuthentication.Abstractions/SimpleAuthentication.Abstractions.csproj
: Updated target frameworks tonet8.0;net9.0
and correspondingMicrosoft.AspNetCore.Authentication.JwtBearer
package versions. [1] [2]src/SimpleAuthentication.Abstractions/version.json
: Updated version to3.0
.src/SimpleAuthentication/SimpleAuthentication.csproj
: Updated target frameworks tonet8.0;net9.0
.Code Improvements:
samples/Controllers/JwtBearerSample/Controllers/AuthController.cs
andsamples/MinimalApis/JwtBearerSample/Program.cs
: Simplified null and whitespace checks forloginRequest.Scopes
. [1] [2]src/SimpleAuthentication/SimpleAuthenticationExtensions.cs
: Improved issuer and audience validation checks.Configuration Enhancements:
.editorconfig
: Addedcsharp_prefer_system_threading_lock
preference.Documentation Updates:
src/SimpleAuthentication/PermissionAuthorizationExtensions.cs
: Added remarks forServiceLifetime.Transient
registration in several methods. [1] [2] [3] [4]