diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 16:07:36 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 16:07:36 +0000 |
commit | 425c710ee7d7cfbbb496909b24ce038c2f6768b8 (patch) | |
tree | 237b350fad8d6b14679906e198a0080f1e13cb0f /python/protocols/py_authn_response.c | |
parent | 32b13e03dce0109b3445fda6b8d895a053353b6b (diff) | |
download | lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.gz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.xz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.zip |
*** empty log message ***
Diffstat (limited to 'python/protocols/py_authn_response.c')
-rw-r--r-- | python/protocols/py_authn_response.c | 26 |
1 files changed, 0 insertions, 26 deletions
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; |