Searched refs:create_scoped (Results 1 – 12 of 12) sorted by relevance
116 credentials.create_scoped(pubsub_utils.PUBSUB_SCOPES).AndReturn(140 credentials.create_scoped(pubsub_utils.PUBSUB_SCOPES).AndReturn(
58 credential = credential.create_scoped(PUBSUB_SCOPES)
114 self.assertEqual(returned, credentials.create_scoped.return_value)115 credentials.create_scoped.assert_called_once_with(mock.sentinel.scopes)
72 return credentials.create_scoped(scopes)
153 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
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'])
663 return credentials.create_scoped(scopes)
191 def create_scoped(self, scopes): member in AppAssertionCredentials
205 new_credentials = credentials.create_scoped(['dummy_scope'])