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)
def credentials(self): """Return `CredentialsCollection` object.""" return credentials.CredentialsCollection( self._conn, base.get_sub_resource_path_by(self, 'credentials'))
def credentials(self): return credentials.CredentialsCollection( self._conn, base.get_sub_resource_path_by(self, 'credentials'))