Microsoft.AspNetCore.Authorization.Infrastructure Namespace¶
-
namespace
Microsoft.AspNetCore.Authorization.
Infrastructure
¶ Classes
- class
AssertionRequirement
- Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandler
andMicrosoft.AspNetCore.Authorization.IAuthorizationRequirement
that takes a user specified assertion. - class
ClaimsAuthorizationRequirement
- Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandler
andMicrosoft.AspNetCore.Authorization.IAuthorizationRequirement
which 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.IAuthorizationHandler
andMicrosoft.AspNetCore.Authorization.IAuthorizationRequirement
which requires the current user must be authenticated. - class
NameAuthorizationRequirement
- Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandler
andMicrosoft.AspNetCore.Authorization.IAuthorizationRequirement
which requires the current user name must match the specified value. - class
OperationAuthorizationRequirement
- A helper class to provide a useful
Microsoft.AspNetCore.Authorization.IAuthorizationRequirement
which contains a name. - class
PassThroughAuthorizationHandler
- Infrastructre class which allows an
Microsoft.AspNetCore.Authorization.IAuthorizationRequirement
to be its ownMicrosoft.AspNetCore.Authorization.IAuthorizationHandler
. - class
RolesAuthorizationRequirement
- Implements an
Microsoft.AspNetCore.Authorization.IAuthorizationHandler
andMicrosoft.AspNetCore.Authorization.IAuthorizationRequirement
which requires at least one role claim whose value must be any of the allowed roles.
- class