From 425c710ee7d7cfbbb496909b24ce038c2f6768b8 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Fri, 9 Jul 2004 16:07:36 +0000 Subject: *** empty log message *** --- python/protocols/py_authn_response.c | 26 -------------------------- python/protocols/py_authn_response.h | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) (limited to 'python/protocols') diff --git a/python/protocols/py_authn_response.c b/python/protocols/py_authn_response.c index bd8e3dbc..77471893 100644 --- a/python/protocols/py_authn_response.c +++ b/python/protocols/py_authn_response.c @@ -47,32 +47,6 @@ PyObject *LassoAuthnResponse_wrap(LassoAuthnResponse *response) { /******************************************************************************/ -PyObject *authn_response_getattr(PyObject *self, PyObject *args) { - PyObject *reponse_obj; - LassoAuthnResponse *reponse; - const char *attr; - - if (CheckArgs(args, "OS:authn_response_get_attr")) { - if (!PyArg_ParseTuple(args, "Os:authn_response_get_attr", &reponse_obj, &attr)) - return NULL; - } - else return NULL; - - reponse = LassoAuthnResponse_get(reponse_obj); - - if (!strcmp(attr, "__members__")) - return Py_BuildValue("[ss]", "request", "query"); - if (!strcmp(attr, "request")) - return (LassoAuthnRequest_wrap(LASSO_AUTHN_REQUEST(reponse->request))); - if (!strcmp(attr, "query")) - return (xmlCharPtr_wrap(reponse->query)); - - Py_INCREF(Py_None); - return (Py_None); -} - -/******************************************************************************/ - PyObject *authn_response_new_from_dump(PyObject *self, PyObject *args) { xmlChar *buffer; LassoNode *response; diff --git a/python/protocols/py_authn_response.h b/python/protocols/py_authn_response.h index f3d54c0f..f11a9638 100644 --- a/python/protocols/py_authn_response.h +++ b/python/protocols/py_authn_response.h @@ -40,7 +40,7 @@ PyObject *LassoAuthnResponse_wrap(LassoAuthnResponse *response); PyObject *authn_response_getattr(PyObject *self, PyObject *args); PyObject *authn_response_new_from_dump(PyObject *self, PyObject *args); PyObject *authn_response_new_from_export(PyObject *self, PyObject *args); -PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args); +//PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args); PyObject *authn_response_must_authenticate(PyObject *self, PyObject *args); PyObject *authn_response_process_authentication_result(PyObject *self, PyObject *args); PyObject *authn_response_verify_signature(PyObject *self, PyObject *args); -- cgit