5 references to AuthorizeAsync
Microsoft.AspNetCore.Authorization.Test (5)
DefaultAuthorizationServiceTests.cs (5)
361
var allowed = await authorizationService.
AuthorizeAsync
(user, policy.Build());
382
var allowed = await authorizationService.
AuthorizeAsync
(user, policy.Build());
399
var allowed = await authorizationService.
AuthorizeAsync
(user, policy.Build());
432
var allowed = await authorizationService.
AuthorizeAsync
(user, policy.Build());
453
var allowed = await authorizationService.
AuthorizeAsync
(user, policy.Build());