def _check_error_response(self, response, context):
        """
        Check if the response is an OAuth error response.
        :param response: the OIDC response
        :type response: oic.oic.message
        :raise SATOSAAuthenticationError: if the response is an OAuth error response
        """
        if "error" in response:
            satosa_logging(logger, logging.DEBUG, "%s error: %s %s" %
                           (type(response).__name__, response["error"], response.get("error_description", "")),
                           context.state)
            raise SATOSAAuthenticationError(context.state, "Access denied")
def _check_error_response ( self , response , context ) : if "error" in response : satosa_logging ( logger , logging . DEBUG , "%s error: %s %s" % ( type ( response ) . __name__ , response [ "error" ] , response . get ( "error_description" , "" ) ) , context . state ) raise SATOSAAuthenticationError ( context . state , "Access denied" )
Check if the response is an OAuth error response.
        :param response: the OIDC response
        :type response: oic.oic.message
        :raise SATOSAAuthenticationError: if the response is an OAuth error response