Lyo.Authentication.AspNetCore 1.0.6

dotnet add package Lyo.Authentication.AspNetCore --version 1.0.6
                    
NuGet\Install-Package Lyo.Authentication.AspNetCore -Version 1.0.6
                    
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="Lyo.Authentication.AspNetCore" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lyo.Authentication.AspNetCore" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="Lyo.Authentication.AspNetCore" />
                    
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 Lyo.Authentication.AspNetCore --version 1.0.6
                    
#r "nuget: Lyo.Authentication.AspNetCore, 1.0.6"
                    
#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 Lyo.Authentication.AspNetCore@1.0.6
                    
#: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=Lyo.Authentication.AspNetCore&version=1.0.6
                    
Install as a Cake Addin
#tool nuget:?package=Lyo.Authentication.AspNetCore&version=1.0.6
                    
Install as a Cake Tool

Lyo.Authentication.AspNetCore

ASP.NET Core integration for Lyo.Authentication. Three schemes coexist behind a single dispatcher:

  • LyoApiToken. Validates Format-B opaque tokens (lyo_pat_live_...) - LyoJwt. Validates Lyo-signed Ed25519 JWTs (ey...) - LyoBearer (the default). Sniffs the Authorization/X-Api-Key header and forwards to one of the above

app.UseAuthentication(); app.UseAuthorization(); app.MapLyoJwks(); ```

Per-endpoint scope-based authorization uses the `scope:<name>` policy convention. `ScopeAuthorizationPolicyProvider` creates these policies on demand, so endpoints can do:

```csharp endpoints.MapGet("/people", ...).RequireAuthorization("scope:people.read"); ```

or, when working with `EndpointAuth` from `Lyo.Api`:

```csharp GetAuth = EndpointAuth.RequireAuthorization("scope:people.read") ```

## Dependencies

Generated from `ProjectReference` / `PackageReference` (same model as `docs/Lyo.ProjectGraph.html`).

- `Lyo.Api.Models` (direct, lyo)
- `Lyo.Authentication` (direct, lyo)
- `Lyo.Common` (direct, lyo)
- `Lyo.Diagnostic` (direct, lyo)
- `Lyo.Exceptions` (direct, lyo)
- `Lyo.Authentication.Models` (transitive, lyo)
- `Lyo.DateAndTime` (transitive, lyo)
- `Lyo.Hashing` (transitive, lyo)
- `Lyo.KeyStore` (transitive, lyo)
- `Lyo.PackageMetadata` (transitive, lyo)
- `Lyo.Query.Models` (transitive, lyo)
- `Lyo.Result` (transitive, lyo)
- `BouncyCastle.Cryptography` `2.6.2` (transitive, third-party)
- `Konscious.Security.Cryptography.Argon2` `1.3.1` (transitive, third-party)
- `Microsoft.Bcl.AsyncInterfaces` `10.0.5` (transitive, microsoft, netstandard2.0)
- `Microsoft.Extensions.Configuration.Binder` `10.0.5` (transitive, microsoft)
- `Microsoft.Extensions.DependencyInjection.Abstractions` `10.0.5` (transitive, microsoft, net10.0, netstandard2.0)
- `Microsoft.Extensions.Hosting.Abstractions` `10.0.5` (transitive, microsoft)
- `Microsoft.Extensions.Logging.Abstractions` `10.0.5` (transitive, microsoft)
- `Microsoft.Extensions.Options` `10.0.5` (transitive, microsoft)
- `System.IO.Hashing` `10.0.5` (transitive, microsoft, net10.0)
- `System.Memory` `4.6.3` (transitive, microsoft, netstandard2.0)
- `System.Text.Json` `10.0.5` (transitive, microsoft, netstandard2.0)
- `System.Threading.Tasks.Extensions` `4.6.3` (transitive, microsoft)
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Lyo.Authentication.AspNetCore:

Package Downloads
Lyo.Config.Api

Central HTTP API exposing Lyo.Config PostgreSQL-backed IConfigStore for microservices (polling-friendly ETags). Embed via AddConfigApi / MapConfigApiEndpoints.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 0 8/20/2026
1.0.4 44 8/20/2026
1.0.3 39 8/19/2026
1.0.2 66 8/19/2026
1.0.1 70 8/18/2026
1.0.0 86 8/16/2026