5 references to Claim
Microsoft.AspNetCore.Authentication.Test (3)
OpenIdConnect\UniqueJsonKeyClaimActionTests.cs (1)
34
identity.AddClaim(new
Claim
("claimType", "value", "valueType"));
WsFederation\WsFederationTest.cs (1)
337
identity.AddClaim(new
Claim
(identity.RoleClaimType, "Guest", ClaimValueTypes.String));
WsFederation\WsFederationTest_Handler.cs (1)
333
identity.AddClaim(new
Claim
(identity.RoleClaimType, "Guest", ClaimValueTypes.String));
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreWithGenericsTest.cs (2)
159
IdentityResultAssert.IsSuccess(await manager.AddClaimAsync(user, new
Claim
("c", "a", "i")));
162
Claim claim = new
Claim
("c", "b", "i");