View Source
Class BackOfficeHandler
Ensures authorization is successful for a back office user.
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeHandler : MustSatisfyRequirementAuthorizationHandler<BackOfficeRequirement>
Constructors
View Source
BackOfficeHandler(IBackOfficeSecurityAccessor)
Declaration
public BackOfficeHandler(IBackOfficeSecurityAccessor backOfficeSecurity)
Parameters
| Type |
Name |
Description |
| IBackOfficeSecurityAccessor |
backOfficeSecurity |
|
Methods
View Source
IsAuthorized(AuthorizationHandlerContext, BackOfficeRequirement)
Declaration
protected override Task<bool> IsAuthorized(AuthorizationHandlerContext context, BackOfficeRequirement requirement)
Parameters
Returns
| Type |
Description |
| Task<System.Boolean> |
|