Namespace Arc4u.Authorization
Classes
- AllScopedOperationsHandler
Handles AllScopedOperationsRequirement by verifying that the current principal is granted all of the required scoped operations (AND logic).
- AllScopedOperationsRequirement
Represents an authorization requirement that is satisfied only when the current principal is granted all of the specified scoped operations (AND logic).
- AnyScopedOperationHandler
Handles AnyScopedOperationRequirement by verifying that the current principal is granted at least one of the required scoped operations (OR logic).
- AnyScopedOperationRequirement
Represents an authorization requirement that is satisfied as soon as the current principal is granted any one of the specified scoped operations (OR logic).
- ApplicationAuthorizationPolicy
Default IApplicationAuthorizationPolicy: evaluates the policy with the IAuthorizationService for the principal of the current IApplicationContext.
- PoliciesBuilder
A fluent builder, returned by AddScopedOperationsPolicy(IServiceCollection, IEnumerable<string>, IEnumerable<Operation>), for registering additional authorization policies and tweaking AuthorizationOptions in a single chained expression.
- ScopedOperationsExtension
Registers the authorization policies derived from the operations of an application.
Interfaces
- IApplicationAuthorizationPolicy
Checks, from code, that the current user satisfies an authorization policy.