Home
last modified time | relevance | path

Searched refs:jsonKey (Results 1 – 6 of 6) sorted by relevance

/plugin/authgooglesheets/vendor/google/auth/src/Credentials/
DUserRefreshCredentials.php61 $jsonKey argument
63 if (is_string($jsonKey)) {
64 if (!file_exists($jsonKey)) {
67 $json = file_get_contents($jsonKey);
68 if (!$jsonKey = json_decode((string) $json, true)) {
72 if (!array_key_exists('client_id', $jsonKey)) {
77 if (!array_key_exists('client_secret', $jsonKey)) {
82 if (!array_key_exists('refresh_token', $jsonKey)) {
88 'clientId' => $jsonKey['client_id'],
89 'clientSecret' => $jsonKey['client_secret'],
[all …]
DServiceAccountJwtAccessCredentials.php70 public function __construct($jsonKey, $scope = null) argument
72 if (is_string($jsonKey)) {
73 if (!file_exists($jsonKey)) {
76 $jsonKeyStream = file_get_contents($jsonKey);
77 if (!$jsonKey = json_decode((string) $jsonKeyStream, true)) {
81 if (!array_key_exists('client_email', $jsonKey)) {
86 if (!array_key_exists('private_key', $jsonKey)) {
91 if (array_key_exists('quota_project_id', $jsonKey)) {
92 $this->quotaProject = (string) $jsonKey['quota_project_id'];
95 'issuer' => $jsonKey['client_email'],
[all …]
DServiceAccountCredentials.php115 $jsonKey, argument
119 if (is_string($jsonKey)) {
120 if (!file_exists($jsonKey)) {
123 $jsonKeyStream = file_get_contents($jsonKey);
124 if (!$jsonKey = json_decode((string) $jsonKeyStream, true)) {
128 if (!array_key_exists('client_email', $jsonKey)) {
133 if (!array_key_exists('private_key', $jsonKey)) {
138 if (array_key_exists('quota_project_id', $jsonKey)) {
139 $this->quotaProject = (string) $jsonKey['quota_project_id'];
152 'issuer' => $jsonKey['client_email'],
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/
DApplicationDefaultCredentials.php160 $jsonKey = CredentialsLoader::fromEnv()
173 if (!is_null($jsonKey)) {
175 $jsonKey['quota_project_id'] = $quotaProject;
179 $jsonKey,
272 $jsonKey = CredentialsLoader::fromEnv()
284 if (!is_null($jsonKey)) {
285 if (!array_key_exists('type', $jsonKey)) {
289 if ($jsonKey['type'] == 'authorized_user') {
293 if ($jsonKey['type'] != 'service_account') {
297 $creds = new ServiceAccountCredentials(null, $jsonKey, null, $targetAudience);
/plugin/authgooglesheets/vendor/google/auth/
DREADME.md186 $jsonKey = ['key' => 'value'];
192 $creds = CredentialsLoader::makeCredentials($scopes, $jsonKey);
/plugin/authgooglesheets/vendor/google/apiclient/
DREADME.md230 $jsonKey = [
235 $client->setAuthConfig($jsonKey);