Lines Matching refs:jsonKey
61 $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'],
90 'refresh_token' => $jsonKey['refresh_token'],
94 if (array_key_exists('quota_project_id', $jsonKey)) {
95 $this->quotaProject = (string) $jsonKey['quota_project_id'];