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)
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)
74 creds = GoogleCredentials.get_application_default().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
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'])
191 def create_scoped(self, scopes): member in AppAssertionCredentials
778 return credentials.create_scoped(scopes)
205 new_credentials = credentials.create_scoped(['dummy_scope'])