Method BuildPrincipalAsync(long, IEnumerable<string>, bool, string?, OidcClaimsRequest?, CancellationToken)
Builds a for the given user with the specified scopes.
Loads the Core user, OIDC profile extension, and group/role memberships,
then delegates to + .
Task<ClaimsPrincipal?> BuildPrincipalAsync(long userId, IEnumerable<string> scopes, bool mfaVerified = false, string? mfaMethod = null, OidcClaimsRequest? claimsRequest = null, CancellationToken ct = default)