summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-07-16 12:49:29 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-07-16 12:49:29 +0000
commit150005bf3978815c6b7678b5482bde89a3191a40 (patch)
tree16ee9651f3da5d19eeb7d9b5f4fe059a41c84b08 /python
parent8ff0d93d6e96c61fddb30e6b8c42fa056ceec8c0 (diff)
downloadlasso-150005bf3978815c6b7678b5482bde89a3191a40.tar.gz
lasso-150005bf3978815c6b7678b5482bde89a3191a40.tar.xz
lasso-150005bf3978815c6b7678b5482bde89a3191a40.zip
*** empty log message ***
Diffstat (limited to 'python')
-rw-r--r--python/environs/py_user.c2
-rw-r--r--python/lasso.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/python/environs/py_user.c b/python/environs/py_user.c
index 0e51153b..5de637a9 100644
--- a/python/environs/py_user.c
+++ b/python/environs/py_user.c
@@ -25,6 +25,8 @@
#include "../lassomod.h"
+#include "../xml/py_xml.h"
+
#include "py_user.h"
PyObject *LassoUser_wrap(LassoUser *user) {
diff --git a/python/lasso.py b/python/lasso.py
index 5d886bd1..359f1a49 100644
--- a/python/lasso.py
+++ b/python/lasso.py
@@ -860,14 +860,14 @@ class User:
def destroy(self):
lassomod.user_destroy(self)
- def get_assertion(self):
- pass
+ def get_assertion(self, providerID):
+ return Node(lassomod.user_get_assertion(self, providerID))
def get_next_providerID(self):
return lassomod.user_get_next_providerID(self)
def remove_assertion(self, providerID):
- return lassomod.user_remove_assertion(self, providerID)
+ lassomod.user_remove_assertion(self, providerID)
loginProtocolProfileBrwsArt = 1
loginProtocolProfileBrwsPost = 2