Home
last modified time | relevance | path

Searched refs:scopes (Results 1 – 12 of 12) sorted by relevance

/tools/acloud/internal/lib/
Dauth.py66 def _CreateOauthServiceAccountCreds(email, private_key_path, scopes): argument
83 email, private_key_path, scopes=scopes)
92 def _CreateOauthServiceAccountCredsWithJsonKey(json_private_key_path, scopes, argument
113 json_private_key_path, scopes=scopes)
118 scope=scopes)
138 def _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes): argument
156 scope=scopes,
165 user_agent, scopes): argument
189 scope=scopes)
200 return _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes)
[all …]
Dgcompute_client.py1277 scopes = []
1278 scopes.extend(self.DEFAULT_INSTANCE_SCOPE)
1280 scopes.extend(extra_scopes)
1294 "scopes": scopes,
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java68 public static Credentials createCredentialFromJsonKeyFile(File file, Collection<String> scopes) in createCredentialFromJsonKeyFile() argument
70 return getInstance().doCreateCredentialFromJsonKeyFile(file, scopes); in createCredentialFromJsonKeyFile()
74 Credentials doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument
77 GoogleCredentials.fromStream(new FileInputStream(file)).createScoped(scopes); in doCreateCredentialFromJsonKeyFile()
98 Collection<String> scopes, in createCredential() argument
104 .doCreateCredential(scopes, primaryKeyFile, hostOptionKeyFileName, backupKeyFiles); in createCredential()
126 Collection<String> scopes, in createCredential() argument
134 credential = getInstance().doCreateCredentialFromCredentialFactory(scopes); in createCredential()
142 .doCreateCredential(scopes, primaryKeyFile, hostOptionKeyFileName, backupKeyFiles); in createCredential()
147 Collection<String> scopes, in doCreateCredential() argument
[all …]
DGCSCommon.java55 protected Storage getStorage(Collection<String> scopes) throws IOException { in getStorage() argument
61 scopes, true, mJsonKeyFile, GCS_JSON_KEY); in getStorage()
DRestApiHelper.java77 String baseUri, File jsonKeyFile, Collection<String> scopes) in newInstanceWithGoogleCredential() argument
81 GoogleApiClientUtil.createCredentialFromJsonKeyFile(jsonKeyFile, scopes); in newInstanceWithGoogleCredential()
/tools/tradefederation/core/src/com/android/tradefed/auth/
DServiceAccountKeyCredentialFactory.java53 public Credentials createCredential(Collection<String> scopes) throws IOException { in createCredential() argument
57 .createScoped(scopes); in createCredential()
DICredentialFactory.java39 public Credentials createCredential(Collection<String> scopes) throws IOException; in createCredential() argument
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGoogleApiClientUtilTest.java60 Credentials doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument
67 Credentials doCreateDefaultCredential(Collection<String> scopes) throws IOException { in doCreateDefaultCredential() argument
98 public Credentials createCredential(Collection<String> scopes) in setUp()
/tools/tradefederation/core/
Dtradefed.sh42 …gcloud auth application-default login --scopes=https://www.googleapis.com/auth/androidbuild.intern…
/tools/treble/fetcher/
Dfetcher_lib.py50 scopes=_SCOPE_URL)
124 filename=json_keyfile_name, scopes=_SCOPE_URL)
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserCacheTest.kt348 fun `Test same string, same type, different scopes`() { in <lambda>()
/tools/acloud/internal/proto/
Duser_config.proto100 // List of scopes that will be given to the instance