diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-07-13 19:14:12 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-07-13 19:14:12 +0000 |
| commit | a2162f9bd5d0533f9dba1dcc4569b8a409ced085 (patch) | |
| tree | 8bedf6893d416d26da37cc2aec08555756ac3eba /python/environs | |
| parent | 2408d51eb8667330554c760f7d83c35389423b70 (diff) | |
| download | lasso-a2162f9bd5d0533f9dba1dcc4569b8a409ced085.tar.gz lasso-a2162f9bd5d0533f9dba1dcc4569b8a409ced085.tar.xz lasso-a2162f9bd5d0533f9dba1dcc4569b8a409ced085.zip | |
Added response_dump attribute.
Diffstat (limited to 'python/environs')
| -rw-r--r-- | python/environs/py_login.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/environs/py_login.c b/python/environs/py_login.c index 01418ec5..de835293 100644 --- a/python/environs/py_login.c +++ b/python/environs/py_login.c @@ -56,7 +56,7 @@ PyObject *login_getattr(PyObject *self, PyObject *args) { login = LassoLogin_get(login_obj); if (!strcmp(attr, "__members__")) - return Py_BuildValue("[sssssss]", "request", "response", "request_type", + return Py_BuildValue("[ssssssss]", "request", "response", "request_type", "response_dump", "msg_url", "msg_body", "protocolProfile", "assertionArtifact"); if (!strcmp(attr, "request")) return (LassoNode_wrap(LASSO_PROFILE_CONTEXT(login)->request)); @@ -64,6 +64,8 @@ PyObject *login_getattr(PyObject *self, PyObject *args) { return (LassoNode_wrap(LASSO_PROFILE_CONTEXT(login)->response)); if (!strcmp(attr, "request_type")) return (int_wrap(LASSO_PROFILE_CONTEXT(login)->request_type)); + if (!strcmp(attr, "response_dump")) + return (charPtrConst_wrap(login->response_dump)); if (!strcmp(attr, "msg_url")) return (charPtrConst_wrap(LASSO_PROFILE_CONTEXT(login)->msg_url)); if (!strcmp(attr, "msg_body")) |
