logger = $logger; } /** * @NoCSRFRequired * @PublicPage */ public function resourceTypes(): SCIMListResponse { $baseUrl = $this->request->getServerProtocol() . "://" . $this->request->getServerHost() . "/" . Util::SCIM_APP_URL_PATH; $resourceTypes = SCIMUtil::getResourceTypes($baseUrl); return new SCIMListResponse($resourceTypes); } /** * @NoCSRFRequired * @PublicPage */ public function schemas(): SCIMListResponse { $schemas = SCIMUtil::getSchemas(); return new SCIMListResponse($schemas); } /** * @NoCSRFRequired * @PublicPage */ public function serviceProviderConfig(): SCIMJSONResponse { $serviceProviderConfig = SCIMUtil::getServiceProviderConfig(); return new SCIMJSONResponse($serviceProviderConfig); } }