This commit is contained in:
Adrian Hopek
2022-02-15 12:50:01 +01:00
parent 09da5cacda
commit accc8255d0
9 changed files with 658 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
return [
"default_auth_profile" => env("GOOGLE_CALENDAR_AUTH_PROFILE", "service_account"),
"auth_profiles" => [
"service_account" => [
"credentials_json" => storage_path("app/google-calendar/service-account-credentials.json"),
],
"oauth" => [
"credentials_json" => storage_path("app/google-calendar/oauth-credentials.json"),
"token_json" => storage_path("app/google-calendar/oauth-token.json"),
],
],
"calendar_id" => env("GOOGLE_CALENDAR_ID"),
"user_to_impersonate" => env("GOOGLE_CALENDAR_IMPERSONATE"),
];