Arc4u.OAuth2
9.0.0
Prefix Reserved
dotnet add package Arc4u.OAuth2 --version 9.0.0
NuGet\Install-Package Arc4u.OAuth2 -Version 9.0.0
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" Version="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arc4u.OAuth2" Version="9.0.0" />
<PackageReference Include="Arc4u.OAuth2" />
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 --version 9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Arc4u.OAuth2, 9.0.0"
#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@9.0.0
#: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&version=9.0.0
#tool nuget:?package=Arc4u.OAuth2&version=9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Arc4u.OAuth2
Options and services shared by the Arc4u authentication packages: identity provider authority, token cache, claims filler, user identifiers, token providers and custom root certificate authorities for HttpClient.
Install
dotnet add package Arc4u.OAuth2
Usage
using Arc4u.OAuth2.Extensions;
builder.Services.AddDefaultAuthority(builder.Configuration); // Authentication:DefaultAuthority
builder.Services.AddTokenCache(builder.Configuration); // Authentication:TokenCache
builder.Services.AddClaimsFiller(builder.Configuration); // Authentication:ClaimsMiddleWare:ClaimsFiller
In an ASP.NET Core application these registrations are done for you by Arc4u.OAuth2.AspNetCore.Authentication.
Documentation
- Guide: Server authentication
- API reference: Arc4u.OAuth2
- Source and issues: github.com/Arc4u-org/Arc4u
| Product | Versions 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.
-
net10.0
- Arc4u (>= 9.0.0)
- Arc4u.Caching (>= 9.0.0)
- Arc4u.Results (>= 9.0.0)
- Microsoft.Extensions.Hosting (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.23.0)
-
net11.0
- Arc4u (>= 9.0.0)
- Arc4u.Caching (>= 9.0.0)
- Arc4u.Results (>= 9.0.0)
- Microsoft.Extensions.Hosting (>= 11.0.0)
- Microsoft.Extensions.Http (>= 11.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.23.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Arc4u.OAuth2:
| Package | Downloads |
|---|---|
|
Arc4u.gRPC
Package Description |
|
|
Arc4u.OAuth2.AspNetCore
Package Description |
|
|
Arc4u.OAuth2.Client
Package Description |
|
|
Arc4u.OAuth2.AspNetCore.Blazor
Package Description |
|
|
Arc4u.OAuth2.Client.Authentication
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.0 | 135 | 11/10/2026 |
| 9.0.0-preview46 | 126 | 11/3/2026 |
| 9.0.0-preview45 | 117 | 11/2/2026 |
| 9.0.0-preview44 | 118 | 11/1/2026 |
| 9.0.0-preview43 | 103 | 11/1/2026 |
| 9.0.0-preview42 | 113 | 10/30/2026 |
| 9.0.0-preview41 | 117 | 10/30/2026 |
| 9.0.0-preview40 | 133 | 10/27/2026 |
| 9.0.0-preview39 | 110 | 10/24/2026 |
| 9.0.0-preview38 | 143 | 10/22/2026 |
| 9.0.0-preview37 | 642 | 8/11/2026 |
| 9.0.0-preview36 | 477 | 7/28/2026 |
| 9.0.0-preview35 | 160 | 7/27/2026 |
| 9.0.0-preview34 | 181 | 7/27/2026 |
| 9.0.0-preview33 | 203 | 6/15/2026 |
| 9.0.0-preview32 | 169 | 6/14/2026 |
| 9.0.0-preview31 | 182 | 5/20/2026 |
| 9.0.0-preview30 | 176 | 5/19/2026 |
| 9.0.0-preview29 | 179 | 5/15/2026 |
| 9.0.0-preview28 | 184 | 5/15/2026 |
Loading failed