Reor.Software.Auth
0.1.0
dotnet add package Reor.Software.Auth --version 0.1.0
NuGet\Install-Package Reor.Software.Auth -Version 0.1.0
<PackageReference Include="Reor.Software.Auth" Version="0.1.0" />
<PackageVersion Include="Reor.Software.Auth" Version="0.1.0" />
<PackageReference Include="Reor.Software.Auth" />
paket add Reor.Software.Auth --version 0.1.0
#r "nuget: Reor.Software.Auth, 0.1.0"
#:package Reor.Software.Auth@0.1.0
#addin nuget:?package=Reor.Software.Auth&version=0.1.0
#tool nuget:?package=Reor.Software.Auth&version=0.1.0
Reor.Software.Auth
Reor.Software.Auth is a .NET 10 class library containing reusable ASP.NET Core
authentication, authorization, and OpenAPI security extensions for Reor internal APIs.
Installation
dotnet add package Reor.Software.Auth
Authentication
Register Reor's JWT bearer authentication with the standard ASP.NET Core service collection:
builder.Services.AddReorApiAuthentication();
This configures the Reor identity authority at https://id.reor.software/ and the
https://cosmos.reor.software audience.
Authorization
Create a policy requiring an authenticated user with a particular API scope:
builder.Services.AddReorApiAuthorization("WealthApi", "wealth.api");
The policy checks space-separated scope claims case-insensitively. By default, the
configured policy is used as the default authorization policy. Pass PolicyMode.All to
also use it as the fallback policy.
OpenAPI security
Add the OAuth2 authorization-code security transformer to ASP.NET Core OpenAPI:
builder.Services.AddOpenApi(options =>
options.UseReorSecurityTransformer(["wealth.api"]));
The transformer adds Reor's OAuth2 authorization and token endpoints, includes the
standard openid, email, and profile scopes, and applies the security requirement
globally. Custom authorization and token URLs can be supplied when needed.
License
This project is licensed under the MIT License. See LICENSE.
| 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. |
-
net10.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.12)
- Microsoft.AspNetCore.OpenApi (>= 10.0.12)
- Microsoft.OpenApi (>= 2.12.2)
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 |
|---|---|---|
| 0.1.0 | 0 | 9/23/2026 |