def METHOD_NAME(self, username, password):
    """validate the resource owner password credentials using its
    existing password validation algorithm::
        def authenticate_user(self, username, password):
            user = get_user_by_username(username)
            if user.check_password(password):
               return user
    """
    raise NotImplementedError()