summaryrefslogtreecommitdiffstats
path: root/python/examples
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-04-07 03:00:43 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-04-07 03:00:43 +0000
commitc040ec62e11b5140e52ee0f59f9fc70a94b5ac5d (patch)
treed2031b4e39c16b80ed8090e9e169547d9ac85528 /python/examples
parentbeeae477e9c544e707d27101ce4e9c6c6cd80d70 (diff)
downloadlasso-c040ec62e11b5140e52ee0f59f9fc70a94b5ac5d.tar.gz
lasso-c040ec62e11b5140e52ee0f59f9fc70a94b5ac5d.tar.xz
lasso-c040ec62e11b5140e52ee0f59f9fc70a94b5ac5d.zip
*** empty log message ***
Diffstat (limited to 'python/examples')
-rwxr-xr-xpython/examples/test.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/python/examples/test.py b/python/examples/test.py
new file mode 100755
index 00000000..b636b38a
--- /dev/null
+++ b/python/examples/test.py
@@ -0,0 +1,28 @@
+#! /usr/bin/env python
+
+import sys
+sys.path.insert(0, '../')
+import lasso
+
+print lasso.init()
+
+req = lasso.AuthnRequest("providerid.com",
+ "federated",
+ "false",
+ "true",
+ "", # None
+ "3",
+ None,
+ None,
+ "", # None
+ "", # None
+ 0,
+ None,
+ "obtained")
+
+req.request.dump("iso-8859-1", 1)
+
+#req.dump("iso-8859-1", 1)
+#req.destroy()
+
+#print lasso.shutdown()