1 write to Principal
Microsoft.AspNetCore.Authorization.Test (1)
PolicyEvaluatorTests.cs (1)
211
Principal
= new ClaimsPrincipal(new ClaimsIdentity(scheme));
2 references to Principal
Microsoft.AspNetCore.Authorization.Test (2)
PolicyEvaluatorTests.cs (2)
65
Assert.Equal(auth.
Principal
, result.Principal);
212
return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(
Principal
, scheme)));