Skip to main content
Table of Contents

Namespace Stratara.Identity.AspNetCore.Services

Classes

AspNetSignInManager<TUser>

Channel-agnostic ASP.NET Core implementation of IStrataraSignInManager that wraps the ASP.NET Core SignInManager<TUser> + UserManager<TUser> and translates every outcome into the unified StrataraSignInResult. Failure messages are resolved via IStringLocalizer<T> (anchored on IdentityResources), so the current CurrentUICulture decides the language. English is the default resource set; German overrides ship as IdentityResources.de.resx.

ExternalLoginProvisioningService<TUser>

Just-in-time provisioning for external (OpenID Connect) sign-ins: on a first external sign-in it creates a local ASP.NET Identity account and links the external login, or links to an existing account — enforcing the security invariants as hard defaults.

IdentityNoOpEmailSender<TUser>

Development-time IEmailSender<TUser> that silently drops every email (returns CompletedTask without sending anything).

MembershipClaimsPrincipalFactory<TUser>

Decorates the host's IUserClaimsPrincipalFactory<TUser> and stamps the stratara:tenant_id claim from the user's tenant membership onto every principal the factory issues — the sign-in bridge between the identity plane and Stratara's session-context middleware, which reads exactly that claim.

MembershipClaimsTransformation

Per-request alternative to MembershipClaimsPrincipalFactory<TUser>: an IClaimsTransformation that resolves the stratara:tenant_id claim from the membership store on every request instead of stamping it into the issued cookie or token.