Arc4u.OAuth2.AspNetCore.Authentication 9.0.0-preview42

Prefix Reserved
This is a prerelease version of Arc4u.OAuth2.AspNetCore.Authentication.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Arc4u.OAuth2.AspNetCore.Authentication --version 9.0.0-preview42
                    
NuGet\Install-Package Arc4u.OAuth2.AspNetCore.Authentication -Version 9.0.0-preview42
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Arc4u.OAuth2.AspNetCore.Authentication" Version="9.0.0-preview42" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arc4u.OAuth2.AspNetCore.Authentication" Version="9.0.0-preview42" />
                    
Directory.Packages.props
<PackageReference Include="Arc4u.OAuth2.AspNetCore.Authentication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Arc4u.OAuth2.AspNetCore.Authentication --version 9.0.0-preview42
                    
#r "nuget: Arc4u.OAuth2.AspNetCore.Authentication, 9.0.0-preview42"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Arc4u.OAuth2.AspNetCore.Authentication@9.0.0-preview42
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Arc4u.OAuth2.AspNetCore.Authentication&version=9.0.0-preview42&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Arc4u.OAuth2.AspNetCore.Authentication&version=9.0.0-preview42&prerelease
                    
Install as a Cake Tool

Arc4u.OAuth2.AspNetCore.Authentication

Configures ASP.NET Core authentication from the Authentication configuration section: JWT bearer for APIs, OpenID Connect with a cookie session for web applications, or both.

Install

dotnet add package Arc4u.OAuth2.AspNetCore.Authentication --prerelease

Usage

using Arc4u.OAuth2.Extensions;

builder.Services.AddJwtAuthentication(builder.Configuration);         // API: JWT bearer
// builder.Services.AddOidcAuthentication(builder.Configuration);    // web app: OpenID Connect + cookie
// builder.Services.AddHybridAuthentication(builder.Configuration);  // both
builder.Services.AddAuthorization();

Each method reads the Authentication section; the guide lists its keys and the Arc4u services (application context, caches, principal creation) your application registers.

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.0-preview45 0 11/2/2026
9.0.0-preview44 44 11/1/2026
9.0.0-preview43 38 11/1/2026
9.0.0-preview42 43 10/30/2026
9.0.0-preview41 41 10/30/2026
9.0.0-preview40 63 10/27/2026
9.0.0-preview39 55 10/24/2026
9.0.0-preview38 80 10/22/2026
9.0.0-preview37 536 8/11/2026
9.0.0-preview36 386 7/28/2026
9.0.0-preview35 82 7/27/2026
9.0.0-preview34 74 7/27/2026
9.0.0-preview33 111 6/15/2026
9.0.0-preview32 87 6/14/2026
9.0.0-preview31 85 5/20/2026
9.0.0-preview30 81 5/19/2026
9.0.0-preview29 91 5/15/2026
9.0.0-preview28 88 5/15/2026
9.0.0-preview27 84 5/14/2026
9.0.0-preview26 76 5/14/2026
Loading failed