public function __construct(IResourceServerService $resource_server_service, ILogService $log_service) { parent::__construct($log_service); $this->resource_server_service = $resource_server_service; $this->allowed_filter_fields = array(''); $this->allowed_projection_fields = array('*'); }
/** * @param IBannedIPService $banned_ip_service * @param ILogService $log_service */ public function __construct(IBannedIPService $banned_ip_service, ILogService $log_service) { parent::__construct($log_service); $this->banned_ip_service = $banned_ip_service; $this->allowed_filter_fields = array(); $this->allowed_projection_fields = array('*'); }
public function __construct(IApiService $api_service, ILogService $log_service) { parent::__construct($log_service); $this->api_service = $api_service; //set filters allowed values $this->allowed_filter_fields = array('resource_server_id'); $this->allowed_projection_fields = array('*'); }
/** * @param IApiScopeService $scope_service * @param ITokenService $token_service * @param IClientService $client_service * @param ILogService $log_service */ public function __construct(IApiScopeService $scope_service, ITokenService $token_service, IClientService $client_service, ILogService $log_service) { parent::__construct($log_service); $this->client_service = $client_service; $this->scope_service = $scope_service; $this->token_service = $token_service; //set filters allowed values $this->allowed_filter_fields = array('user_id'); $this->allowed_projection_fields = array('*'); }