Skip to content

Commit

Permalink
Add spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
schulzefelix committed Apr 12, 2020
1 parent 4902e90 commit c8e9c59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/SearchConsoleClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ private static function configureAuthentication(Google_Client $client, $config)
switch ($config['auth_type']):
case 'oauth':
$client->setClientId($config['connections']['oauth']['client_id']);
$client->setClientSecret($config['connections']['oauth']['client_secret']);
break;
case 'oauth_json':
$client->setClientSecret($config['connections']['oauth']['client_secret']);
break;
case 'oauth_json':
$client->setAuthConfig($config['connections']['oauth_json']['auth_config']);
break;
case 'service_account':
break;
case 'service_account':
$client->useApplicationDefaultCredentials($config['connections']['service_account']['application_credentials']);
break;
break;
endswitch;
}
}

0 comments on commit c8e9c59

Please sign in to comment.