diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-08 13:19:52 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-08 13:19:52 +0000 |
commit | 3d2a99d2ba0096930515a32a682e918f3081c039 (patch) | |
tree | f181cdf3093d99d3d16b6f185c27b6fdf2cf5ab2 /python/examples/test.py | |
parent | 5ab4384d35718496cf9eb93159dbdd0d15da63c1 (diff) | |
download | lasso-3d2a99d2ba0096930515a32a682e918f3081c039.tar.gz lasso-3d2a99d2ba0096930515a32a682e918f3081c039.tar.xz lasso-3d2a99d2ba0096930515a32a682e918f3081c039.zip |
*** empty log message ***
Diffstat (limited to 'python/examples/test.py')
-rwxr-xr-x | python/examples/test.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/examples/test.py b/python/examples/test.py index a7690348..aa32bdce 100755 --- a/python/examples/test.py +++ b/python/examples/test.py @@ -12,9 +12,9 @@ req = lasso.AuthnRequest("providerid.com", "true", "pp", # None "3", - None, - None, - "", # None + ["test"], + [], + "1", # None "encoded_RelayState", # None 0, None, @@ -24,6 +24,8 @@ req.node.dump("iso-8859-1", 1) query = req.node.url_encode(1, "../../examples/rsakey.pem") +print query + res = lasso.AuthnResponse(query, 1, "../../examples/rsapub.pem", "../../examples/rsakey2.pem", |