summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/environs/py_lecp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/environs/py_lecp.c b/python/environs/py_lecp.c
index b8f17a41..301c79a5 100644
--- a/python/environs/py_lecp.c
+++ b/python/environs/py_lecp.c
@@ -59,9 +59,14 @@ PyObject *lecp_getattr(PyObject *self, PyObject *args) {
lecp = LassoLecp_get(lecp_obj);
if (!strcmp(attr, "__members__"))
- return Py_BuildValue("[s]", "msg_body");
+ return Py_BuildValue("[sss]", "assertionConsumerServiceURL",
+ "msg_body", "msg_url");
+ if (!strcmp(attr, "assertionConsumerServiceURL"))
+ return (charPtrConst_wrap(lecp->assertionConsumerServiceURL));
if (!strcmp(attr, "msg_body"))
return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_body));
+ if (!strcmp(attr, "msg_url"))
+ return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_url));
Py_INCREF(Py_None);
return (Py_None);