Home
last modified time | relevance | path

Searched refs:has_scopes (Results 1 – 6 of 6) sorted by relevance

/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py70 credentials_mock.has_scopes.return_value = True
95 credentials_mock.has_scopes = True
167 credentials_mock.has_scopes.return_value = False
186 credentials_mock.has_scopes = False
/external/python/oauth2client/oauth2client/contrib/django_util/
D__init__.py448 credentials.has_scopes(self._get_scopes()))
/external/python/oauth2client/tests/
Dtest_client.py1452 self.assertTrue(self.credentials.has_scopes('foo'))
1453 self.assertTrue(self.credentials.has_scopes(['foo']))
1454 self.assertFalse(self.credentials.has_scopes('bar'))
1455 self.assertFalse(self.credentials.has_scopes(['bar']))
1458 self.assertTrue(self.credentials.has_scopes('foo'))
1459 self.assertTrue(self.credentials.has_scopes('bar'))
1460 self.assertFalse(self.credentials.has_scopes('baz'))
1461 self.assertTrue(self.credentials.has_scopes(['foo', 'bar']))
1462 self.assertFalse(self.credentials.has_scopes(['foo', 'baz']))
1465 self.assertFalse(self.credentials.has_scopes('foo'))
/external/python/oauth2client/oauth2client/contrib/
Dflask_util.py523 self.credentials.has_scopes(requested_scopes)):
/external/python/oauth2client/tests/contrib/
Dtest_flask_util.py512 credentials.has_scopes(['email', 'one', 'two']))
/external/python/oauth2client/oauth2client/
Dclient.py579 def has_scopes(self, scopes): member in OAuth2Credentials