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