Searched refs:create_scoped (Results 1 – 14 of 14) sorted by relevance
119 credentials.create_scoped(pubsub_utils.PUBSUB_SCOPES).AndReturn(143 credentials.create_scoped(pubsub_utils.PUBSUB_SCOPES).AndReturn(
58 credential = credential.create_scoped(PUBSUB_SCOPES)
112 self.assertEqual(returned, credentials.create_scoped.return_value)113 credentials.create_scoped.assert_called_once_with(mock.sentinel.scopes)
73 return credentials.create_scoped(scopes)
74 creds = GoogleCredentials.get_application_default().create_scoped(SCOPES)
173 credentials = credentials.create_scoped(scope)
481 def create_scoped(self, scopes): member in ServiceAccountCredentials632 def create_scoped(self, scopes, token_uri=oauth2client.GOOGLE_TOKEN_URI, member in _JWTAccessCredentials
1130 def create_scoped(self, scopes): member in GoogleCredentials
47 creds = GoogleCredentials.get_application_default().create_scoped(scopes)
236 new_credentials = self.credentials.create_scoped(self.scopes)465 new_credentials = self.jwt.create_scoped('dummy_scope')
304 self.assertEqual(credentials, credentials.create_scoped(None))306 credentials.create_scoped(['dummy_scope']))815 creds1 = creds1.create_scoped(['dummy_scope'])
775 return credentials.create_scoped(scopes)
191 def create_scoped(self, scopes): member in AppAssertionCredentials
205 new_credentials = credentials.create_scoped(['dummy_scope'])