Microsoft.AspNetCore.Authorization.Infrastructure Namespace¶
-
namespace
Microsoft.AspNetCore.Authorization.Infrastructure¶ Classes
- class
AssertionRequirement - Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandlerandMicrosoft.AspNetCore.Authorization.IAuthorizationRequirementthat takes a user specified assertion. - class
ClaimsAuthorizationRequirement - Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandlerandMicrosoft.AspNetCore.Authorization.IAuthorizationRequirementwhich requires at least one instance of the specified claim type, and, if allowed values are specified, the claim value must be any of the allowed values. - class
DenyAnonymousAuthorizationRequirement - Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandlerandMicrosoft.AspNetCore.Authorization.IAuthorizationRequirementwhich requires the current user must be authenticated. - class
NameAuthorizationRequirement - Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandlerandMicrosoft.AspNetCore.Authorization.IAuthorizationRequirementwhich requires the current user name must match the specified value. - class
OperationAuthorizationRequirement - A helper class to provide a useful
Microsoft.AspNetCore.Authorization.IAuthorizationRequirementwhich contains a name. - class
PassThroughAuthorizationHandler - Infrastructre class which allows an
Microsoft.AspNetCore.Authorization.IAuthorizationRequirementto be its ownMicrosoft.AspNetCore.Authorization.IAuthorizationHandler. - class
RolesAuthorizationRequirement - Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandlerandMicrosoft.AspNetCore.Authorization.IAuthorizationRequirementwhich requires at least one role claim whose value must be any of the allowed roles.
- class