5 implementations of IAuthorizationService
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Authorization.Test (2)
Microsoft.AspNetCore.Components.Authorization.Tests (2)
83 references to IAuthorizationService
Aspire.Dashboard (3)
Microsoft.AspNetCore.Authorization (17)
AuthorizationServiceExtensions.cs (9)
12/// Extension methods for <see cref="IAuthorizationService"/>.
19/// <param name="service">The <see cref="IAuthorizationService"/> providing authorization.</param>
27public static Task<AuthorizationResult> AuthorizeAsync(this IAuthorizationService service, ClaimsPrincipal user, object? resource, IAuthorizationRequirement requirement)
38/// <param name="service">The <see cref="IAuthorizationService"/> providing authorization.</param>
46public static Task<AuthorizationResult> AuthorizeAsync(this IAuthorizationService service, ClaimsPrincipal user, object? resource, AuthorizationPolicy policy)
57/// <param name="service">The <see cref="IAuthorizationService"/> providing authorization.</param>
64public static Task<AuthorizationResult> AuthorizeAsync(this IAuthorizationService service, ClaimsPrincipal user, AuthorizationPolicy policy)
75/// <param name="service">The <see cref="IAuthorizationService"/> providing authorization.</param>
82public static Task<AuthorizationResult> AuthorizeAsync(this IAuthorizationService service, ClaimsPrincipal user, string policyName)
Microsoft.AspNetCore.Authorization.Policy (4)
Microsoft.AspNetCore.Authorization.Test (52)
Microsoft.AspNetCore.Components.Authorization (1)
Microsoft.AspNetCore.Components.Authorization.Tests (2)
Microsoft.AspNetCore.SignalR.Core (2)
SecurityWebSite (1)
StaticFilesAuth (1)