public DeleteSpaceCommandHandler( IAggregateRepository aggregateRepository, IResourceAuthorizationService authorizationService) { _aggregateRepository = aggregateRepository; _resourceAuthorizationService = authorizationService; }
public EditCommentCommandHandler( IAggregateRepository aggregateRepository, IResourceAuthorizationService resourceAuthorizationService) { _aggregateRepository = aggregateRepository; _resourceAuthorizationService = resourceAuthorizationService; }
public AuthController(IUserService userService, ILogger <AuthController> logger, IWebAuthnService webAuthnService, IResourceAuthorizationService resourceAuthorizationService) { _userService = userService; _logger = logger; _webAuthnService = webAuthnService; _resourceAuthorizationService = resourceAuthorizationService; }
public UpdateSpaceCommandHandler( IAggregateRepository aggregateRepository, ISpaceChecker spaceValidatorService, IResourceAuthorizationService resourceAuthorizationService) { _aggregateRepository = aggregateRepository; _spaceValidatorService = spaceValidatorService; _resourceAuthorizationService = resourceAuthorizationService; }
public ActivityController(ITurnService turnService, IResourceAuthorizationService resourceAuthorizationService) { _turnService = turnService; _resourceAuthorizationService = resourceAuthorizationService; }
/// <summary> /// Crée une instance de <see cref="ResourceAuthorizeFilter"/> pour la resource et les autorisations spécifiées. /// </summary> /// <param name="resourceName">Le nom de la ressource.</param> /// <param name="requiredGrants">Les autorisations nécessaires sur la ressource.</param> /// <param name="resourceAuthorizationService">Le service permettant d'effectuer la vérification.</param> public ResourceAuthorizeFilter(string resourceName, ResourceGrant requiredGrants, IResourceAuthorizationService resourceAuthorizationService) { _resourceName = resourceName; _requiredGrants = requiredGrants; _resourceAuthorizationService = resourceAuthorizationService; }
public SessionController(IResourceAuthorizationService resourceAuthorizationService, IUserService userService) { _resourceAuthorizationService = resourceAuthorizationService; _userService = userService; }
public NotificationController(INotificationService notificationService, IResourceAuthorizationService resourceAuthorizationService) { _notificationService = notificationService; _resourceAuthorizationService = resourceAuthorizationService; }