4 implementations of IAuthorizationHandler
Microsoft.AspNetCore.Authorization (4)
AssertionRequirement.cs (1)
14public class AssertionRequirement : IAuthorizationHandler, IAuthorizationRequirement
AuthorizationHandler.cs (2)
13public abstract class AuthorizationHandler<TRequirement> : IAuthorizationHandler 42public abstract class AuthorizationHandler<TRequirement, TResource> : IAuthorizationHandler
PassThroughAuthorizationHandler.cs (1)
14public class PassThroughAuthorizationHandler : IAuthorizationHandler
22 references to IAuthorizationHandler
Microsoft.AspNetCore.Authorization (22)
AssertionRequirement.cs (1)
11/// Implements an <see cref="IAuthorizationHandler"/> and <see cref="IAuthorizationRequirement"/>
AuthorizationFailure.cs (1)
30/// Allows <see cref="IAuthorizationHandler"/> to flow more detailed reasons for why authorization failed.
AuthorizationFailureReason.cs (3)
16public AuthorizationFailureReason(IAuthorizationHandler handler, string message) 28/// The <see cref="IAuthorizationHandler"/> responsible for this failure reason. 30public IAuthorizationHandler Handler { get; }
AuthorizationHandlerContext.cs (1)
13/// Contains authorization information used by <see cref="IAuthorizationHandler"/>.
AuthorizationServiceCollectionExtensions.cs (1)
38services.TryAddEnumerable(ServiceDescriptor.Transient<IAuthorizationHandler, PassThroughAuthorizationHandler>());
ClaimsAuthorizationRequirement.cs (1)
13/// Implements an <see cref="IAuthorizationHandler"/> and <see cref="IAuthorizationRequirement"/>
DefaultAuthorizationHandlerProvider.cs (5)
13/// which provides the <see cref="IAuthorizationHandler"/>s for an authorization request. 17private readonly Task<IEnumerable<IAuthorizationHandler>> _handlersTask; 22/// <param name="handlers">The <see cref="IAuthorizationHandler"/>s.</param> 23public DefaultAuthorizationHandlerProvider(IEnumerable<IAuthorizationHandler> handlers) 31public Task<IEnumerable<IAuthorizationHandler>> GetHandlersAsync(AuthorizationHandlerContext context)
DefaultAuthorizationService.cs (1)
68foreach (var handler in handlers)
DenyAnonymousAuthorizationRequirement.cs (1)
10/// Implements an <see cref="IAuthorizationHandler"/> and <see cref="IAuthorizationRequirement"/> which requires the current user must be authenticated.
IAuthorizationHandlerProvider.cs (2)
10/// A type which can provide the <see cref="IAuthorizationHandler"/>s for an authorization request. 19Task<IEnumerable<IAuthorizationHandler>> GetHandlersAsync(AuthorizationHandlerContext context);
NameAuthorizationRequirement.cs (1)
12/// Implements an <see cref="IAuthorizationHandler"/> and <see cref="IAuthorizationRequirement"/>
PassThroughAuthorizationHandler.cs (3)
12/// be its own <see cref="IAuthorizationHandler"/>. 37foreach (var handler in context.Requirements.OfType<IAuthorizationHandler>())
RolesAuthorizationRequirement.cs (1)
13/// Implements an <see cref="IAuthorizationHandler"/> and <see cref="IAuthorizationRequirement"/>