Microsoft.​Asp​Net​Core.​Authorization Microsoft.​Asp​Net​Core.​Authorization Namespace

Classes

AllowAnonymousAttribute AllowAnonymousAttribute Specifies that the class or method that this attribute is applied to does not require authorization.
AuthorizationHandler<TRequirement> AuthorizationHandler(Of TRequirement) Base class for authorization handlers that need to be called for a specific requirement type.
AuthorizationHandler<TRequirement, TResource> AuthorizationHandler(Of TRequirement, TResource) Base class for authorization handlers that need to be called for specific requirement and resource types.
AuthorizationHandlerContext AuthorizationHandlerContext Contains authorization information used by IAuthorizationHandler.
AuthorizationOptions AuthorizationOptions Provides programmatic configuration used by IAuthorizationService and IAuthorizationPolicyProvider.
AuthorizationPolicy AuthorizationPolicy Represents a collection of authorization requirements and the scheme or schemes they are evaluated against, all of which must succeed for authorization to succeed.
AuthorizationPolicyBuilder AuthorizationPolicyBuilder Used for building policies during application startup.
AuthorizationServiceExtensions AuthorizationServiceExtensions Extension methods for IAuthorizationService.
AuthorizeAttribute AuthorizeAttribute Specifies that the class or method that this attribute is applied to requires the specified authorization.
DefaultAuthorizationPolicyProvider DefaultAuthorizationPolicyProvider The default implementation of a policy provider, which provides a AuthorizationPolicy for a particular name.
DefaultAuthorizationService DefaultAuthorizationService The default implementation of an IAuthorizationService.

Interfaces

IAllowAnonymous IAllowAnonymous Marker interface to enable the AllowAnonymousAttribute.
IAuthorizationHandler IAuthorizationHandler Classes implementing this interface are able to make a decision if authorization is allowed.
IAuthorizationPolicyProvider IAuthorizationPolicyProvider A type which can provide a AuthorizationPolicy for a particular name.
IAuthorizationRequirement IAuthorizationRequirement Represents an authorization requirement.
IAuthorizationService IAuthorizationService Checks policy based permissions for a user
IAuthorizeData IAuthorizeData Defines the set of data required to apply authorization rules to a resource.