Home
last modified time | relevance | path

Searched refs:client_secret (Results 1 – 25 of 40) sorted by relevance

12

/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Doauth_helpers.py27 def get_oauth2_user_token(client_id, client_secret, code): argument
33 client_secret=client_secret,
46 def get_oauth2_robot_token(client_id, client_secret, code): argument
52 client_secret=client_secret,
/external/python/oauth2client/oauth2client/contrib/
Dflask_util.py237 client_id=None, client_secret=None, authorize_callback=None,
273 self._load_config(client_secrets_file, client_id, client_secret)
277 def _load_config(self, client_secrets_file, client_id, client_secret): argument
290 if client_id and client_secret:
291 self.client_id, self.client_secret = client_id, client_secret
304 self.client_id, self.client_secret = (
324 self.client_secret = client_info['client_secret']
346 client_secret=self.client_secret,
/external/python/oauth2client/tests/contrib/
Dtest_flask_util.py77 client_secret='client_secretz')
96 flask.Flask(__name__), client_id='id', client_secret='secret')
99 self.assertEqual(oauth2.client_secret, 'secret')
112 self.assertEqual(oauth2.client_secret, 'secret')
117 oauth2.init_app(app, client_id='id', client_secret='secret')
124 client_secret='secret')
130 client_secret='secret')
152 self.assertEqual(oauth2.client_secret, 'secret')
166 self.assertEqual(oauth2.client_secret, 'secret2')
180 self.assertEqual(flow.client_secret, self.oauth2.client_secret)
[all …]
Dtest_sqlalchemy.py48 client_secret='client_secret',
63 self.assertEqual(result.client_secret, self.credentials.client_secret)
Dtest_keyring_storage.py125 client_secret = 'cOuDdkfjxxnv+'
131 access_token, client_id, client_secret,
Dtest_multiprocess_file_storage.py52 client_secret = 'cOuDdkfjxxnv+'
60 access_token, 'test-client-id', client_secret,
Dtest_appengine.py327 client_secret = 'cOuDdkfjxxnv+'
332 access_token, client_id, client_secret,
390 client_secret = 'cOuDdkfjxxnv+'
395 access_token, client_id, client_secret,
586 client_id='foo_client_id', client_secret='foo_client_secret',
841 client_id='foo_client_id', client_secret='foo_client_secret',
/external/python/google-api-python-client/docs/
Dclient-secrets.md3 …s the `client_secrets.json` file format for storing the `client_id`, `client_secret`, and other OA…
13 "client_secret": "1912308409123890",
27 "client_secret":"asdlkfjaskd",
43 - `client_secret` (string): The client secret.
62 'path_to_directory/client_secret.json',
73 'path_to_directory/client_secret.json',
Doauth-web.md42 After creating your credentials, download the **client_secret.json** file from the API Console. Sec…
44client_secret.json** file in a publicly-accessible location. In addition, if you share the source …
/external/python/oauth2client/oauth2client/contrib/django_util/
D__init__.py278 client_secret = getattr(settings_instance,
280 if client_id is not None and client_secret is not None:
281 return client_id, client_secret
338 self.client_id, self.client_secret = \
Dviews.py67 client_secret=django_util.oauth2_settings.client_secret,
/external/python/apitools/apitools/gen/
Dgen_client.py71 client_secret = web.get('client_secret')
77 client_secret = args.client_secret
83 if not client_secret:
85 client_secret = ''
88 discovery_doc, args.scope, client_id, client_secret,
/external/python/oauth2client/oauth2client/
Dclient.py470 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
507 self.client_secret = client_secret
733 'client_secret': self.client_secret,
1095 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
1119 access_token, client_id, client_secret, refresh_token,
1172 'client_secret': self.client_secret,
1425 client_secret=client_credentials['client_secret'],
1637 def credentials_from_code(client_id, client_secret, scope, code, argument
1676 flow = OAuth2WebServerFlow(client_id, client_secret, scope,
1808 client_secret=None, argument
[all …]
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc63 &result.client_secret) || in grpc_auth_refresh_token_create_from_json()
94 if (refresh_token->client_secret != nullptr) { in grpc_auth_refresh_token_destruct()
95 gpr_free(refresh_token->client_secret); in grpc_auth_refresh_token_destruct()
96 refresh_token->client_secret = nullptr; in grpc_auth_refresh_token_destruct()
418 c->refresh_token.client_id, c->refresh_token.client_secret, in refresh_token_fetch_oauth2()
Doauth2_credentials.h31 char* client_secret; member
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py35 client_secret = 'cOuDdkfjxxnv+'
41 access_token, client_id, client_secret,
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc243 string client_id, client_secret, refresh_token; in GetTokenFromRefreshTokenJson() local
245 TF_RETURN_IF_ERROR(ReadJsonString(json, "client_secret", &client_secret)); in GetTokenFromRefreshTokenJson()
249 "client_id=", client_id, "&client_secret=", client_secret, in GetTokenFromRefreshTokenJson()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc82 &result.client_secret) || in grpc_auth_refresh_token_create_from_json()
113 if (refresh_token->client_secret != nullptr) { in grpc_auth_refresh_token_destruct()
114 gpr_free(refresh_token->client_secret); in grpc_auth_refresh_token_destruct()
115 refresh_token->client_secret = nullptr; in grpc_auth_refresh_token_destruct()
447 refresh_token_.client_secret, refresh_token_.refresh_token); in fetch_oauth2()
Doauth2_credentials.h40 char* client_secret; member
/external/oss-fuzz/infra/build/functions/
Ddatastore_entities.py33 client_secret = ndb.StringProperty() variable in GithubCreds
/external/python/google-api-python-client/samples/tasks_appengine/
Dmain.py24 client_secret=settings.CLIENT_SECRET,
/external/python/oauth2client/tests/
Dtest_file.py65 client_secret = 'cOuDdkfjxxnv+'
72 access_token, client_id, client_secret,
Dtest_client.py288 self.assertEqual('secret', credentials.client_secret)
878 client_secret = 'cOuDdkfjxxnv+'
883 access_token, client_id, client_secret,
1000 client_secret = u'cOuDdkfjxxnv+'
1007 access_token, client_id, client_secret, refresh_token,
1030 client_secret = u'cOuDdkfjxxnv+'
1037 access_token, client_id, client_secret, refresh_token,
1644 client_secret='secret+1',
1667 client_secret='secret+1',
2073 self.assertEqual('foo_client_secret', flow.client_secret)
[all …]
/external/python/oauth2client/scripts/
Drun_system_tests.py90 client_secret=client_credentials['client_secret'],
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Dexternal_account_credentials.h48 std::string client_secret; member

12