/// <summary> /// Implements permission verification /// </summary> /// <param name="authService"></param> /// <param name="requiredPermissions"></param> public ImplementationRequiresPermissionAttribute(IAuthorizationService authService, PermissionRequirement requiredPermissions, IConfiguration configuration) { _authService = authService; _requiredPermissions = requiredPermissions; _configuration = configuration; }
/// <summary> /// Implements permission verification /// </summary> /// <param name="authService"></param> /// <param name="requiredPermissions"></param> public ImplementationRequiresPermissionAttribute(IAuthorizationService authService, PermissionRequirement requiredPermissions) { _authService = authService; _requiredPermissions = requiredPermissions; }