#NEWLINE# def validate_password( self , auth_id , password , silent = False ) : #NEWLINE# #INDENT# '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        ' #NEWLINE# return self . get_user_by_auth_password ( auth_id , password , silent = self )