plugin.tx_rest.settings { paths { search { path = search* read = allow write = deny cacheLifetime = -1 handlerClass = \Nesolu\SutterbeggDistribution\Controller\Rest\SearchController } location { path = location* read = allow write = deny cacheLifetime = -1 handlerClass = \Nesolu\SutterbeggDistribution\Controller\Rest\LocationController } event { path = event* read = allow write = deny cacheLifetime = -1 handlerClass = \Nesolu\SutterbeggDistribution\Controller\Rest\EventController } } # Configure a set of default response headers that will be set if the response does **not** already contain them # defaultResponseHeaders { # Access-Control-Allow-Credentials = true # Access-Control-Allow-Methods = GET, POST, OPTIONS, DELETE # } # Overwrite the response's headers with the following ones # responseHeaders { # Access-Control-Allow-Credentials = true # Access-Control-Allow-Methods = GET, POST, OPTIONS, DELETE # } # Define a list of allowed origins: # If the request's `Origin`-header matches one of the listed origins, it will be whitelisted in the # `Access-Control-Allow-Origin`-header of the response # cors.allowedOrigins { # 0 = http://localhost:3000 # } # This is not defined here to allow easy customization in third party extensions TypoScript setup # cacheLifetime = -1 # expiresHeaderLifetime = # doNotAddClass = 1 # Define words that should not be converted to singular singularToPlural { } authenticationProvider { # 10 = Cundd\Rest\Authentication\BasicAuthenticationProvider # 20 = Cundd\Rest\Authentication\CredentialsAuthenticationProvider # 30 = Cundd\Rest\Authentication\RequestAuthenticationProvider } }