Sencilla.Authentication
10.0.37
dotnet add package Sencilla.Authentication --version 10.0.37
NuGet\Install-Package Sencilla.Authentication -Version 10.0.37
<PackageReference Include="Sencilla.Authentication" Version="10.0.37" />
<PackageVersion Include="Sencilla.Authentication" Version="10.0.37" />
<PackageReference Include="Sencilla.Authentication" />
paket add Sencilla.Authentication --version 10.0.37
#r "nuget: Sencilla.Authentication, 10.0.37"
#:package Sencilla.Authentication@10.0.37
#addin nuget:?package=Sencilla.Authentication&version=10.0.37
#tool nuget:?package=Sencilla.Authentication&version=10.0.37
Sencilla.Authentication
Abstraction hub for the Sencilla authentication / OIDC identity-provider family. Contains
only contracts, records, options, events, and claim constants — no engine, EF, ASP.NET,
or cryptography. Depends on Sencilla.Core alone.
Everything else in the family fans into this package:
Sencilla.Authentication.Client— JWKS bearer validation (what resource apps reference).Sencilla.Authentication.Server— engine-agnostic orchestration + the Argon2id hasher and account-linking policy.Sencilla.Authentication.Jwt— embedded local issuer + refresh reuse-detection.Sencilla.Authentication.OpenIddict— full OIDC host.Sencilla.Authentication.Users— defaultIUserStorebridge toSencilla.Component.Users.Sencilla.Authentication.Google/.Apple/.Facebook— token-based provider verifiers.
Key seams
| Type | Purpose |
|---|---|
IUserStore |
User + credential store (find, create-with-credential, link provider, roles). |
IPasswordHasher |
Hash / verify / needs-rehash (Argon2id default lives in Server). |
IClaimsPrincipalFactory |
Builds the ClaimsPrincipal (sub = Guid) running the enricher chain. |
IClaimsEnricher |
Optional role/scope enrichment (Security implements it). |
ITokenIssuer |
Token materialization for the token-API / embedded path. |
IProviderTokenVerifier |
Verifies a provider id_token → ExternalIdentity. |
IAccountLinkingPolicy |
Pure decision: create / link / challenge / reject. |
ISecondFactor |
MFA seam (TOTP → passkeys later). |
Failures throw the typed Sencilla.Core exceptions; decisions and verifications return values.
Notifications and audit ride Sencilla domain events (IEventDispatcher).
License
MIT
| 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
- Konscious.Security.Cryptography.Argon2 (>= 1.3.1)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.0)
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.15.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.15.0)
- Sencilla.Component.Users (>= 10.0.37)
- Sencilla.Core (>= 10.0.37)
- Sencilla.Repository.EntityFramework (>= 10.0.37)
- Sencilla.Web.MinimalApi (>= 10.0.37)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Sencilla.Authentication:
| Package | Downloads |
|---|---|
|
Sencilla.Authentication.Facebook
Package Description |
|
|
Sencilla.Authentication.Apple
Package Description |
|
|
Sencilla.Authentication.Google
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.