Searched refs:scopes (Results 1 – 7 of 7) sorted by relevance
/tools/acloud/internal/lib/ |
D | auth.py | 65 def _CreateOauthServiceAccountCreds(email, private_key_path, scopes): argument 82 email, private_key_path, scopes=scopes) 90 def _CreateOauthServiceAccountCredsWithJsonKey(json_private_key_path, scopes): argument 108 json_private_key_path, scopes=scopes)) 125 def _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes): argument 141 scope=scopes, 149 user_agent, scopes): argument 173 scope=scopes) 182 return _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes) 185 def CreateCredentials(acloud_config, scopes=_ALL_SCOPES): argument [all …]
|
D | gcompute_client.py | 1171 scopes = [] 1172 scopes.extend(self.DEFAULT_INSTANCE_SCOPE) 1174 scopes.extend(extra_scopes) 1186 "scopes": scopes,
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GoogleApiClientUtil.java | 67 File file, Collection<String> scopes) throws IOException, GeneralSecurityException { in createCredentialFromJsonKeyFile() argument 68 return getInstance().doCreateCredentialFromJsonKeyFile(file, scopes); in createCredentialFromJsonKeyFile() 72 GoogleCredential doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument 78 .createScoped(scopes); in doCreateCredentialFromJsonKeyFile() 98 Collection<String> scopes, in createCredential() argument 104 .doCreateCredential(scopes, primaryKeyFile, hostOptionKeyFileName, backupKeyFiles); in createCredential() 109 Collection<String> scopes, in doCreateCredential() argument 138 return doCreateCredentialFromJsonKeyFile(keyFile, scopes); in doCreateCredential() 144 return doCreateDefaultCredential(scopes); in doCreateCredential() 148 GoogleCredential doCreateDefaultCredential(Collection<String> scopes) throws IOException { in doCreateDefaultCredential() argument [all …]
|
D | RestApiHelper.java | 73 String baseUri, String serviceAccount, File keyFile, Collection<String> scopes) in newInstanceWithGoogleCredential() argument 78 GoogleApiClientUtil.createCredentialFromP12File(serviceAccount, keyFile, scopes); in newInstanceWithGoogleCredential() 94 String baseUri, File jsonKeyFile, Collection<String> scopes) in newInstanceWithGoogleCredential() argument 98 GoogleApiClientUtil.createCredentialFromJsonKeyFile(jsonKeyFile, scopes); in newInstanceWithGoogleCredential()
|
D | GCSCommon.java | 49 protected Storage getStorage(Collection<String> scopes) throws IOException { in getStorage() argument 54 GoogleApiClientUtil.createCredential(scopes, mJsonKeyFile, GCS_JSON_KEY); in getStorage()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 58 GoogleCredential doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument 65 GoogleCredential doCreateDefaultCredential(Collection<String> scopes) throws IOException { in doCreateDefaultCredential() argument
|
/tools/acloud/internal/proto/ |
D | user_config.proto | 98 // List of scopes that will be given to the instance
|