AuthenticationRegistry.GetClaimPolicyConfigs method

Returns a dictionary mapping authentication schema names to the array of claim policy names defined for that schema. It inspects registered option objects for a property named ClaimPolicyConfig or ClaimPolicy of type ClaimPolicyConfig. Only schemas with at least one defined policy are returned. Supports OidcOptions, OAuth2Options, and other options types.

public IDictionary<string, string[]> GetClaimPolicyConfigs()

Return Value

A dictionary of schema -> string[] (policy names).

See Also