Dela via


Microsoft.AspNetCore.Authentication.OpenIdConnect.Claims Namespace

Contains types that make it easier to customize claim mappings with OpenIdConnect based authentication.

Classes

UniqueJsonKeyClaimAction

A ClaimAction that selects a top level value from the json user data with the given key name and adds it as a Claim. This no-ops if the ClaimsIdentity already contains a Claim with the given ClaimType. This no-ops if the key is not found or the value is empty.

Remarks

For more information about using claims and OAuth, see Persist additional claims and tokens from external providers in ASP.NET Core.