diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-06 17:14:15 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-06 17:14:15 +0000 |
commit | 28460166e1f19e70e0969aca143d3beeb6e3c68b (patch) | |
tree | 0aed8559be94b2ac8355eccf0a787122f8f54aad /python/protocols/py_authn_response.c | |
parent | bc26c8f129dd0b64f067624dea97259a664bbef1 (diff) | |
download | lasso-28460166e1f19e70e0969aca143d3beeb6e3c68b.tar.gz lasso-28460166e1f19e70e0969aca143d3beeb6e3c68b.tar.xz lasso-28460166e1f19e70e0969aca143d3beeb6e3c68b.zip |
*** empty log message ***
Diffstat (limited to 'python/protocols/py_authn_response.c')
-rw-r--r-- | python/protocols/py_authn_response.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/protocols/py_authn_response.c b/python/protocols/py_authn_response.c index b8f70c76..d47223fd 100644 --- a/python/protocols/py_authn_response.c +++ b/python/protocols/py_authn_response.c @@ -27,6 +27,7 @@ #include "../xml/py_xml.h" #include "py_authn_response.h" +#include "py_authn_request.h" /******************************************************************************/ /* LassoAuthnResponse */ @@ -60,7 +61,9 @@ PyObject *authn_response_getattr(PyObject *self, PyObject *args) { reponse = LassoAuthnResponse_get(reponse_obj); if (!strcmp(attr, "__members__")) - return Py_BuildValue("[ss]", "requestID", "query"); + 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)); |