Home
last modified time | relevance | path

Searched refs:from_json (Results 1 – 16 of 16) sorted by relevance

/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py73 OAuth2Credentials.from_json.return_value = credentials_mock
169 OAuth2Credentials.from_json.return_value = credentials_mock
187 OAuth2Credentials.from_json.return_value = credentials_mock
/external/python/oauth2client/oauth2client/
Dclient.py316 return kls.from_json(json_data_as_unicode)
319 def from_json(cls, unused_data): member in Credentials
614 def from_json(cls, json_data): member in OAuth2Credentials
973 def from_json(cls, json_data): member in AccessTokenCredentials
1138 def from_json(cls, json_data): member in GoogleCredentials
1148 return service_account.ServiceAccountCredentials.from_json(data)
1151 return service_account._JWTAccessCredentials.from_json(data)
Dservice_account.py424 def from_json(cls, json_data): member in ServiceAccountCredentials
/external/python/oauth2client/oauth2client/contrib/
Ddictionary_storage.py48 credentials = client.OAuth2Credentials.from_json(serialized)
Dgce.py80 def from_json(cls, json_data): member in AppAssertionCredentials
Ddevshell.py139 def from_json(cls, json_data): member in DevshellCredentials
Dappengine.py156 def from_json(cls, json_data): member in AppAssertionCredentials
/external/python/google-api-python-client/googleapiclient/
Dhttp.py385 from_json = getattr(kls, 'from_json')
386 return from_json(s)
574 def from_json(s): member in MediaFileUpload
1039 def from_json(s, http, postproc): member in HttpRequest
/external/python/apitools/apitools/base/py/
Dcredentials_lib.py432 def from_json(cls, json_data): member in GceAssertionCredentials
477 def from_json(cls, json_data): member in GaeAssertionCredentials
/external/python/oauth2client/tests/contrib/
Dtest_gce.py63 gce.AppAssertionCredentials.from_json({})
Dtest_devshell.py260 devshell.DevshellCredentials.from_json(None)
/external/python/oauth2client/tests/
Dtest_client.py219 credentials = client.Credentials.from_json(unused_data)
794 creds2 = client.GoogleCredentials.from_json(json)
803 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
817 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
965 self.credentials = self.credentials.from_json(original_credentials)
978 instance = client.OAuth2Credentials.from_json(json)
988 instance = client.OAuth2Credentials.from_json(json.dumps(data))
994 instance = client.OAuth2Credentials.from_json(json.dumps(data))
1056 instance = client.OAuth2Credentials.from_json(
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt181 googleapiclient.http.HttpRequest.from_json googleapiclient.http.HttpRequest-class.html#from_json
195 googleapiclient.http.MediaFileUpload.from_json googleapiclient.http.MediaFileUpload-class.html#from…
/external/python/oauth2client/
DCHANGELOG.md80 * Added `to_json` and `from_json` methods to all `Credentials`
258 * Quick bugfix for bad error handling in from_json.
319 * Make `from_json` behavior inheritable.
/external/python/google-api-python-client/
DCHANGELOG328 - Make from_json behavior inheritable.
/external/python/google-api-python-client/tests/
Dtest_http.py266 new_req = HttpRequest.from_json(json, http, _postproc_none)