summaryrefslogtreecommitdiffstats
path: root/python/environs
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-07-21 12:44:33 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-07-21 12:44:33 +0000
commit1d7b3791454b797bfd8d5dc72600b6932a16552d (patch)
tree4081f2bb056518fbe6974c9df7f68ba8e7cb7041 /python/environs
parentddf6dd5516e6dbf778968c7fd97ba094c115d36b (diff)
downloadlasso-1d7b3791454b797bfd8d5dc72600b6932a16552d.tar.gz
lasso-1d7b3791454b797bfd8d5dc72600b6932a16552d.tar.xz
lasso-1d7b3791454b797bfd8d5dc72600b6932a16552d.zip
add list of identity provider id in user environ
Diffstat (limited to 'python/environs')
-rw-r--r--python/environs/py_user.c8
-rw-r--r--python/environs/py_user.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/python/environs/py_user.c b/python/environs/py_user.c
index e182f643..92f66b7e 100644
--- a/python/environs/py_user.c
+++ b/python/environs/py_user.c
@@ -126,17 +126,17 @@ PyObject *user_get_assertion(PyObject *self, PyObject *args) {
return (LassoNode_wrap(assertion_node));
}
-PyObject *user_get_next_providerID(PyObject *self, PyObject *args) {
+PyObject *user_get_next_assertion_remote_providerID(PyObject *self, PyObject *args) {
PyObject *user_obj;
gchar *remote_providerID;
- if (CheckArgs(args, "O:user_get_next_providerID")) {
- if(!PyArg_ParseTuple(args, (char *) "O:user_get_next_providerID", &user_obj, &remote_providerID))
+ if (CheckArgs(args, "O:user_get_next_assertion_remote_providerID")) {
+ if(!PyArg_ParseTuple(args, (char *) "O:user_get_next_assertion_remote_providerID", &user_obj, &remote_providerID))
return NULL;
}
else return NULL;
- remote_providerID = lasso_user_get_next_providerID(LassoUser_get(user_obj));
+ remote_providerID = lasso_user_get_next_assertion_remote_providerID(LassoUser_get(user_obj));
if(remote_providerID==NULL){
Py_INCREF(Py_None);
return (Py_None);
diff --git a/python/environs/py_user.h b/python/environs/py_user.h
index fa752e06..b3d253c5 100644
--- a/python/environs/py_user.h
+++ b/python/environs/py_user.h
@@ -43,7 +43,7 @@ PyObject *user_add_assertion(PyObject *self, PyObject *args);
PyObject *user_destroy(PyObject *self, PyObject *args);
PyObject *user_dump(PyObject *self, PyObject *args);
PyObject *user_get_assertion(PyObject *self, PyObject *args);
-PyObject *user_get_next_providerID(PyObject *self, PyObject *args);
+PyObject *user_get_next_assertion_remote_providerID(PyObject *self, PyObject *args);
PyObject *user_remove_assertion(PyObject *self, PyObject *args);
#endif /* __PYLASSO_PY_USER_H__ */