Class IdentityPrincipalBuilder
Builds a for an authenticated user.
Single source of truth for claim construction — used by both
session-based auth and ROPC grant.
public static class IdentityPrincipalBuilder
Inheritance
Methods
Build(IRedbUser, Guid, UserProps?, IEnumerable<string>, bool, string?, OidcClaimsRequest?)
Builds a ClaimsPrincipal from a Core user and optional OIDC profile extension.
public static ClaimsPrincipal Build(IRedbUser user, Guid subjectGuid, UserProps? oidcProps, IEnumerable<string> scopes, bool mfaVerified = false, string? mfaMethod = null, OidcClaimsRequest? claimsRequest = null)