null, /* |-------------------------------------------------------------------------- | LaravelSabre Path |-------------------------------------------------------------------------- | | This is the URI path where LaravelSabre will be accessible from. Feel free | to change this path to anything you like. | */ 'path' => 'dav', /* |-------------------------------------------------------------------------- | LaravelSabre Master Switch |-------------------------------------------------------------------------- | | This option may be used to disable LaravelSabre. | */ 'enabled' => (bool) env('DAV_ENABLED', (bool) env('CARDDAV_ENABLED', false)), /* |-------------------------------------------------------------------------- | LaravelSabre Route Middleware |-------------------------------------------------------------------------- | | These middleware will be assigned to every LaravelSabre route, giving you | the chance to add your own middleware to this list or change any of | the existing middleware. Or, you can simply stick with this list. | */ 'middleware' => [ 'api', 'auth.tokenonbasic', 'limitations', Authorize::class, ], /* |-------------------------------------------------------------------------- | Enable access only to these users |-------------------------------------------------------------------------- | | A comma-separated list of user's email to enable dav for. | If null or empty, there will be no restriction. | */ 'users' => env('DAV_USERS', null), ];