Home
last modified time | relevance | path

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

/plugin/authgooglesheets/vendor/google/auth/src/Credentials/
H A DUserRefreshCredentials.php61 $jsonKey argument
63 if (is_string($jsonKey)) {
64 if (!file_exists($jsonKey)) {
67 $json = file_get_contents($jsonKey);
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'],
90 'refresh_token' => $jsonKey['refresh_token'],
[all …]
H A 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);
81 if (!array_key_exists('client_email', $jsonKey)) {
86 if (!array_key_exists('private_key', $jsonKey)) {
95 'issuer' => $jsonKey['client_email'],
96 'sub' => $jsonKey['client_email'],
98 'signingKey' => $jsonKey['private_key'],
102 $this->projectId = isset($jsonKey['project_id'])
[all …]
H A DServiceAccountCredentials.php115 $jsonKey, argument
119 if (is_string($jsonKey)) {
120 if (!file_exists($jsonKey)) {
123 $jsonKeyStream = file_get_contents($jsonKey);
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)) {
152 'issuer' => $jsonKey['client_email'],
155 'signingKey' => $jsonKey['private_key'],
161 $this->projectId = isset($jsonKey['project_id'])
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/
H A 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/
H A DREADME.md186 $jsonKey = ['key' => 'value'];
192 $creds = CredentialsLoader::makeCredentials($scopes, $jsonKey);
/plugin/authgooglesheets/vendor/google/apiclient/
H A DREADME.md230 $jsonKey = [
235 $client->setAuthConfig($jsonKey);