![]() created automatically when the authorization flow completes for the first The file token.json stores the user's access and refresh tokens, and is Load previously authorized token from a file, if it exists. $client->setPrompt('select_account consent') $client->setAuthConfig('credentials.json') $client->setScopes(Google_Service_Drive::DRIVE_METADATA_READONLY) $client->setApplicationName('Google Drive API PHP Quickstart') ![]() * Google_Client the authorized client object ![]() ![]() Throw new Exception('This application must be run on the command line.')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |