Winglet.Authentication.Testing
0.1.0
See the version list below for details.
dotnet add package Winglet.Authentication.Testing --version 0.1.0
NuGet\Install-Package Winglet.Authentication.Testing -Version 0.1.0
<PackageReference Include="Winglet.Authentication.Testing" Version="0.1.0" />
<PackageVersion Include="Winglet.Authentication.Testing" Version="0.1.0" />
<PackageReference Include="Winglet.Authentication.Testing" />
paket add Winglet.Authentication.Testing --version 0.1.0
#r "nuget: Winglet.Authentication.Testing, 0.1.0"
#:package Winglet.Authentication.Testing@0.1.0
#addin nuget:?package=Winglet.Authentication.Testing&version=0.1.0
#tool nuget:?package=Winglet.Authentication.Testing&version=0.1.0
Winglet.Authentication.Testing
Winglet.Authentication.Testing is a test-only package for deterministic canonical Winglet JWT v1 tests. It creates an ephemeral RSA keypair, issues only typ=winglet+jwt / RS256 tokens, and provides optional WebApplicationFactory configuration that trusts that public key through the real Winglet.Authentication registration.
Reference this package only from test projects, preferably with PrivateAssets="all". Never configure production applications to trust the test issuer or test key. The package does not provide a fake authentication handler, legacy token generator, OBO wire format or Party-specific authorization constants.
Use CreateAnonymousGlobalToken, CreateAuthenticatedToken, CreateStrongToken, CreateTenantToken, CreateStrongTenantToken and CreateServiceToken. Use RequireWingletPrivilege and the production authorization handlers to test authorization. The canonical wire contract is defined by docs/contracts/authentication/jwt-v1.md.
| 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.11)
- Microsoft.AspNetCore.Mvc.Testing (>= 10.0.11)
- Winglet.Authentication (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.