false, /** * Specifies whether the interactive runtime is enabled. * - false: disabled * - true: enabled */ 'interactive_run' => false, /** * Client authentication requires all requests to have HTTP Basic Authentication. * - none: Authentication is disabled. * - none:public_only: Authentication is disabled for all classes that have co:isVisibleTo * and co:permitsUsageTo both set to co:Public. All other classes will be treated * by other authentication schemes. * - shared_secret:runclass: Client must authenticate with the shared secret between * the identity of this phpMAE instance (auth_ns) and the namespace of the class * that is requested to run * - shared_secret:: Client must authenticate with the shared secret between * the identity of this phpMAE instance (auth_ns) and the namespace identified * by the COID. * Multiple authentication schemes (except "none") can be separated with the * pipe (|) character. The first valid scheme will be used. */ 'client_authentication' => 'none', /** * Choose whether authentication is only accepted over TLS (HTTPS) connections: * - true: Credentials are accepted only over HTTPS; this is the default value. * - false: Credentials are also accepted over insecure connections. This should only * be used for staging environments or local network deployments. */ 'client_authentication_must_be_secure' => false, /** * Choose whether CORS requests are possible and the origins that are allowed: * - empty string: No CORS * - '*': All origins allowed. * - Multiple origins can be separated with the pipe (|). */ 'global_cors_origins' => '', /** * Choose an operation mode of this phpMAE instance. * - default: Runs classes as specified in the request URI. Routing functionality is disabled. * - router:: Mounts the router specified by the COID. No other classes can be run. * - router:vhost: Mounts the router specified as phpmae:hasRouter for the namespace * of the HTTP Host header. * - router:header: Mounts the router specified by the "C-PhpMae-Router-COID" header. * Multiple modes can be separated with the pipe (|) character. The first mode * that applies will be used. */ 'mode' => 'default', /** * Specify the identity and CloudObjects Core authentication credential for this phpMAE instance. */ 'co.auth_ns' => 'phpmae.dev', 'co.auth_secret' => 'YOUR_SECRET_HERE', /** * Specify whether and how data about accounts should be cached. This applies to requests that * originate from a CloudObjects Account Gateway. * - none: No caching. * - file: Cache in filesystem. Uses the "cache_dir" configuration option. */ 'agws.data_cache' => 'file', /** * Specifies whether and how phpMAE should write a log. * log.target: * - none: Write no log. * - errorlog: Write to the default error logger. * log.level: Use Monolog constants. */ 'log.target' => 'errorlog', 'log.level' => Monolog\Logger::DEBUG, /** * Specifies a maximum time for script execution. Time limit starts * from the running class. */ 'execution_time_limit' => 10, 'cache_dir' => __DIR__.'/cache', 'uploads_dir' => __DIR__.'/uploads', ];