diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-02 23:59:26 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-02 23:59:26 +0000 |
commit | 8944a5f52d6d49ad646837e4595132500ddaccfe (patch) | |
tree | dc6eccdfbc051cb043ddd57a7f8157e2fc62f8af /python/examples/login.py | |
parent | 2586368612f993fdaee361cdbd4df889f29972f9 (diff) | |
download | lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.tar.gz lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.tar.xz lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.zip |
- Replaced some charPtrConst_wrap() calls by charPtr_wrap()
- Added GPtrArray_wrap() function to wrap GPtrArray into Python list.
- Added session_getattr() function, we can get now providerIDs and
is_dirty properties of Session objects.
Diffstat (limited to 'python/examples/login.py')
-rw-r--r-- | python/examples/login.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/examples/login.py b/python/examples/login.py index b379ab02..e2354b4f 100644 --- a/python/examples/login.py +++ b/python/examples/login.py @@ -26,6 +26,7 @@ splogin.request.set_isPassive(0) splogin.request.set_forceAuthn(1) splogin.request.set_nameIDPolicy(lasso.libNameIDPolicyTypeFederated) splogin.request.set_relayState("fake") +splogin.request.set_consent(lasso.libConsentObtained) splogin.request.set_protocolProfile(lasso.libProtocolProfileBrwsArt) splogin.build_authn_request_msg() @@ -60,6 +61,8 @@ if idplogin.protocolProfile == lasso.loginProtocolProfileBrwsArt: "", lasso.httpMethodRedirect) print "ret = %d, msg_url = %s" % (ret, idplogin.msg_url) + sess = idplogin.get_session() + print sess.providerIDs #################### # Service provider # |