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 | |
| parent | 32b13e03dce0109b3445fda6b8d895a053353b6b (diff) | |
| download | lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.gz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.xz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.zip | |
*** empty log message ***
Diffstat (limited to 'python/protocols')
| -rw-r--r-- | python/protocols/py_authn_response.c | 26 | ||||
| -rw-r--r-- | python/protocols/py_authn_response.h | 2 |
2 files changed, 1 insertions, 27 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; 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); |
