Field RequestedUserInfoClaims

Assembly: redb.Identity.Core.dll

Internal marker listing the claim types the RP requested for /connect/userinfo via
the claims parameter (OIDC Core §5.5), space-separated.

UserInfo is served from the access token, so by the time the request reaches
HandleUserInfoRequestContext the original authorization request is long gone — all
that survives is the principal. Without this marker the userinfo handler cannot tell
"the RP asked for `name` individually" from "`name` happens to sit in the principal",
and would have to either leak scope-gated claims to everyone or ignore the parameter.


Access-token destination only, so it never reaches the id_token, and the userinfo handler
strips it from its own output — it is our bookkeeping, not a claim about the user.

public const string RequestedUserInfoClaims = "redb:claims_userinfo"