13 references to AuthenticationMethod
Microsoft.AspNetCore.Identity (5)
SignInManager.cs (5)
205var authenticationMethod = auth.Principal?.FindFirst(ClaimTypes.AuthenticationMethod); 250additionalClaims.Add(new Claim(ClaimTypes.AuthenticationMethod, authenticationMethod)); 846claims.Add(new Claim(ClaimTypes.AuthenticationMethod, twoFactorInfo.LoginProvider)); 1172identity.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, loginProvider)); 1279LoginProvider = result.Principal.FindFirstValue(ClaimTypes.AuthenticationMethod),
Microsoft.AspNetCore.Identity.FunctionalTests (3)
ManagementTests.cs (2)
172Assert.NotNull(principals[1].Identities.Single().Claims.Single(c => c.Type == ClaimTypes.AuthenticationMethod).Value); 179AssertClaimsEqual(principals[1], principals[2], ClaimTypes.AuthenticationMethod);
RegistrationTests.cs (1)
231authenticationMethod = user.FindFirstValue(ClaimTypes.AuthenticationMethod), IdentityConstants.ApplicationScheme);
Microsoft.AspNetCore.Identity.Test (5)
SignInManagerTest.cs (5)
721It.Is<ClaimsPrincipal>(i => i.FindFirstValue(ClaimTypes.AuthenticationMethod) == loginProvider 826id.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, loginProvider)); 845claims.Any(claim => claim.Type == ClaimTypes.AuthenticationMethod && claim.Value == loginProvider)))) 973It.Is<ClaimsPrincipal>(i => i.FindFirstValue(ClaimTypes.AuthenticationMethod) == loginProvider 1368(loginProvider == null || id.FindFirstValue(ClaimTypes.AuthenticationMethod) == loginProvider) &&