From 3677573bee663ff680489855724dcdc8360e6860 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Sat, 10 Jul 2004 23:01:05 +0000 Subject: *** empty log message *** --- python/lasso.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'python/lasso.py') diff --git a/python/lasso.py b/python/lasso.py index 0f825ec1..33f82c6f 100644 --- a/python/lasso.py +++ b/python/lasso.py @@ -791,6 +791,11 @@ class AuthenticationStatement(Node): SignatureMethodRsaSha1 = 1 SignatureMethodDsaSha1 = 2 +HttpMethodGet = 1 +HttpMethodPost = 2 +HttpMethodRedirect = 3 +HttpMethodSoap = 4 + MessageTypeNone = 0 MessageTypeAuthnRequest = 1 MessageTypeAuthnResponse = 2 @@ -869,6 +874,13 @@ class Login: def init_authn_request(self, remote_providerID): return lassomod.login_init_authn_request(self, remote_providerID) + def init_from_authn_request_msg(self, authn_request_msg, authn_request_method): + return lassomod.login_init_from_authn_request_msg(self, authn_request_msg, + authn_request_method) + + def must_authenticate(self): + return lassomod.login_must_authenticate(self) + class Logout: """\brief Short desc -- cgit