Esempio n. 1
0
 def get_credentials(self, field, value):
     """Get specific user object."""
     return credentials.CredentialsCollection(
         self._conn,
         base.get_sub_resource_path_by(self, 'credentials'),
         params={
             field: value
         }).find_by_field_value(field, value)
Esempio n. 2
0
 def credentials(self):
     """Return `CredentialsCollection` object."""
     return credentials.CredentialsCollection(
         self._conn, base.get_sub_resource_path_by(self, 'credentials'))
Esempio n. 3
0
 def credentials(self):
     return credentials.CredentialsCollection(
         self._conn, base.get_sub_resource_path_by(self, 'credentials'))