42 references to ClaimActions
Identity.ExternalClaims (1)
Startup.cs (1)
49o.ClaimActions.MapJsonKey(ClaimTypes.Gender, "gender");
Microsoft.AspNetCore.Authentication.Facebook (14)
FacebookOptions.cs (14)
32ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id"); 33ClaimActions.MapJsonSubKey("urn:facebook:age_range_min", "age_range", "min"); 34ClaimActions.MapJsonSubKey("urn:facebook:age_range_max", "age_range", "max"); 35ClaimActions.MapJsonKey(ClaimTypes.DateOfBirth, "birthday"); 36ClaimActions.MapJsonKey(ClaimTypes.Email, "email"); 37ClaimActions.MapJsonKey(ClaimTypes.Name, "name"); 38ClaimActions.MapJsonKey(ClaimTypes.GivenName, "first_name"); 39ClaimActions.MapJsonKey("urn:facebook:middle_name", "middle_name"); 40ClaimActions.MapJsonKey(ClaimTypes.Surname, "last_name"); 41ClaimActions.MapJsonKey(ClaimTypes.Gender, "gender"); 42ClaimActions.MapJsonKey("urn:facebook:link", "link"); 43ClaimActions.MapJsonSubKey("urn:facebook:location", "location", "name"); 44ClaimActions.MapJsonKey(ClaimTypes.Locality, "locale"); 45ClaimActions.MapJsonKey("urn:facebook:timezone", "timezone");
Microsoft.AspNetCore.Authentication.Google (7)
GoogleOptions.cs (7)
29ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id"); // v2 30ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub"); // v3 31ClaimActions.MapJsonKey(ClaimTypes.Name, "name"); 32ClaimActions.MapJsonKey(ClaimTypes.GivenName, "given_name"); 33ClaimActions.MapJsonKey(ClaimTypes.Surname, "family_name"); 34ClaimActions.MapJsonKey("urn:google:profile", "link"); 35ClaimActions.MapJsonKey(ClaimTypes.Email, "email");
Microsoft.AspNetCore.Authentication.MicrosoftAccount (5)
MicrosoftAccountOptions.cs (5)
27ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id"); 28ClaimActions.MapJsonKey(ClaimTypes.Name, "displayName"); 29ClaimActions.MapJsonKey(ClaimTypes.GivenName, "givenName"); 30ClaimActions.MapJsonKey(ClaimTypes.Surname, "surname"); 31ClaimActions.MapCustomJson(ClaimTypes.Email, user => user.GetString("mail") ?? user.GetString("userPrincipalName"));
Microsoft.AspNetCore.Authentication.OAuth (1)
Events\OAuthCreatingTicketContext.cs (1)
115foreach (var action in Options.ClaimActions)
SocialSample (14)
Startup.cs (14)
74o.ClaimActions.MapJsonSubKey("urn:google:image", "image", "url"); 75o.ClaimActions.Remove(ClaimTypes.GivenName); 126o.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id"); 127o.ClaimActions.MapJsonKey(ClaimTypes.Name, "login"); 128o.ClaimActions.MapJsonKey("urn:github:name", "name"); 129o.ClaimActions.MapJsonKey(ClaimTypes.Email, "email", ClaimValueTypes.Email); 130o.ClaimActions.MapJsonKey("urn:github:url", "url"); 181o.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub"); 182o.ClaimActions.MapJsonKey(ClaimTypes.Name, "name"); 183o.ClaimActions.MapJsonKey(ClaimTypes.Email, "email", ClaimValueTypes.Email); 184o.ClaimActions.MapJsonKey(ClaimTypes.GivenName, "given_name"); 185o.ClaimActions.MapJsonKey(ClaimTypes.Surname, "family_name"); 186o.ClaimActions.MapJsonKey("email_verified", "email_verified"); 187o.ClaimActions.MapJsonKey(ClaimTypes.Uri, "website");