Microsoft.AspNetCore.Authorization Namespace

namespace Microsoft.AspNetCore.Authorization

Interfaces

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

Classes

class AllowAnonymousAttribute
Specifies that the class or method that this attribute is applied to does not require authorization.
class AuthorizationHandlerContext
Contains authorization information used by Microsoft.AspNetCore.Authorization.IAuthorizationHandler.
class AuthorizationHandler<TRequirement>
Base class for authorization handlers that need to be called for a specific requirement type.
class AuthorizationHandler<TRequirement, TResource>
Base class for authorization handlers that need to be called for specific requirement and resource types.
class AuthorizationOptions
Provides programmatic configuration used by Microsoft.AspNetCore.Authorization.IAuthorizationService and Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider.
class 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.
class AuthorizationPolicyBuilder
Used for building policies during application startup.
class AuthorizationServiceExtensions
Extension methods for Microsoft.AspNetCore.Authorization.IAuthorizationService.
class AuthorizeAttribute
Specifies that the class or method that this attribute is applied to requires the specified authorization.
class DefaultAuthorizationPolicyProvider
The default implementation of a policy provider, which provides a Microsoft.AspNetCore.Authorization.AuthorizationPolicy for a particular name.
class DefaultAuthorizationService
The default implementation of an Microsoft.AspNetCore.Authorization.IAuthorizationService.