summaryrefslogtreecommitdiffstats
path: root/python/lasso.py
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-15 17:42:49 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-15 17:42:49 +0000
commit58a10f4c019ed6c30dbe7e18e6265bf2281a8278 (patch)
treeff5f4a0de55096ae940e6ea5c1d7d23079baaedb /python/lasso.py
parente305d16e5a785040a343643cae9669e3c6601ada (diff)
downloadlasso-58a10f4c019ed6c30dbe7e18e6265bf2281a8278.tar.gz
lasso-58a10f4c019ed6c30dbe7e18e6265bf2281a8278.tar.xz
lasso-58a10f4c019ed6c30dbe7e18e6265bf2281a8278.zip
Added method create_user in Login class
+ Update
Diffstat (limited to 'python/lasso.py')
-rw-r--r--python/lasso.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/python/lasso.py b/python/lasso.py
index 7c0da38c..d8c01de4 100644
--- a/python/lasso.py
+++ b/python/lasso.py
@@ -887,8 +887,10 @@ class Login:
ret = lassomod.login_getattr(self, name)
if ret is None:
raise AttributeError, name
+ if name == "user":
+ ret = LassoUser(_obj=ret)
if name == "request":
- print "request_type =", lassomod.login_getattr(self, "request_type")
+ # print "request_type =", lassomod.login_getattr(self, "request_type")
if lassomod.login_getattr(self, "request_type") == messageTypeAuthnRequest:
ret = AuthnRequest(None, _obj=ret)
# TODO
@@ -925,6 +927,9 @@ class Login:
def build_request_msg(self):
return lassomod.login_build_request_msg(self)
+ def create_user(self, user_dump):
+ return lassomod.login_create_user(self, user_dump)
+
def dump(self):
return lassomod.login_dump(self)
@@ -935,9 +940,8 @@ class Login:
return lassomod.login_init_from_authn_request_msg(self, authn_request_msg,
authn_request_method)
- def init_request(self, response_msg, response_method, remote_providerID):
- return lassomod.login_init_request(self, response_msg,
- response_method, remote_providerID)
+ def init_request(self, response_msg, response_method):
+ return lassomod.login_init_request(self, response_msg, response_method)
def must_authenticate(self):
return lassomod.login_must_authenticate(self)