def METHOD_NAME(self, subject):
    """Authenticate user with the given assertion claims. Developers MUST
    implement it in subclass, e.g.::
        def authenticate_user(self, subject):
            return User.get_by_sub(subject)
    :param subject: "sub" value in claims
    :return: User instance
    """
    raise NotImplementedError()