def default_password_validator(self, auth_id, password, silent=False):
    'Validates a password.\n\n        Passwords are used to log-in using forms or to request auth tokens\n        from services.\n\n        :param auth_id:\n            Authentication id.\n        :param password:\n            Password to be checked.\n        :param silent:\n            If True, raises an exception if auth_id or password are invalid.\n        :returns:\n            user or None\n        :raises:\n            ``InvalidAuthIdError`` or ``InvalidPasswordError``.\n        '
    return self.get_user_by_auth_password(auth_id, password, silent=silent)
Validates a password.

Passwords are used to log-in using forms or to request auth tokens
from services.

:param auth_id:
    Authentication id.
:param password:
    Password to be checked.
:param silent:
    If True, raises an exception if auth_id or password are invalid.
:returns:
    user or None
:raises:
    ``InvalidAuthIdError`` or ``InvalidPasswordError``.
def default_password_validator(self, auth_id, password, silent=False):
    'Validates a password.\n\n        Passwords are used to log-in using forms or to request auth tokens\n        from services.\n\n        :param auth_id:\n            Authentication id.\n        :param password:\n            Password to be checked.\n        :param silent:\n            If True, raises an exception if auth_id or password are invalid.\n        :returns:\n            user or None\n        :raises:\n            ``InvalidAuthIdError`` or ``InvalidPasswordError``.\n        '
    return self.get_user_by_auth_password(auth_id, password, silent=silent)