8 references to Identity
Microsoft.AspNetCore.Authentication.OAuth (3)
Events\OAuthCreatingTicketContext.cs (3)
105/// to <see cref="Identity"/>. 111/// to <see cref="Identity"/>. 117action.Run(userData, Identity!, Options.ClaimsIssuer ?? Scheme.Name);
Microsoft.AspNetCore.Authentication.Test (5)
GoogleTests.cs (5)
785Assert.Equal("Test email", context.Identity.FindFirst(ClaimTypes.Email)?.Value); 786Assert.Equal("Test User ID", context.Identity.FindFirst(ClaimTypes.NameIdentifier)?.Value); 787Assert.Equal("Test Name", context.Identity.FindFirst(ClaimTypes.Name)?.Value); 788Assert.Equal("Test Family Name", context.Identity.FindFirst(ClaimTypes.Surname)?.Value); 789Assert.Equal("Test Given Name", context.Identity.FindFirst(ClaimTypes.GivenName)?.Value);