diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 16:07:36 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-09 16:07:36 +0000 |
| commit | 425c710ee7d7cfbbb496909b24ce038c2f6768b8 (patch) | |
| tree | 237b350fad8d6b14679906e198a0080f1e13cb0f /python/lasso.py | |
| parent | 32b13e03dce0109b3445fda6b8d895a053353b6b (diff) | |
| download | lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.gz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.tar.xz lasso-425c710ee7d7cfbbb496909b24ce038c2f6768b8.zip | |
*** empty log message ***
Diffstat (limited to 'python/lasso.py')
| -rw-r--r-- | python/lasso.py | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/python/lasso.py b/python/lasso.py index f388e2b5..ecdfb1fa 100644 --- a/python/lasso.py +++ b/python/lasso.py @@ -441,7 +441,7 @@ class LibRegisterNameIdentifierResponse(Node): Node.__init__(self, _obj=_obj) ################################################################################ -# protocols : high level classes +# protocols : middle level classes ################################################################################ def authn_request_get_protocolProfile(query): @@ -816,3 +816,28 @@ class AuthenticationStatement(Node): if _obj is None: raise Error('lasso_authentication_statement_new() failed') Node.__init__(self, _obj=_obj) + +################################################################################ +# environs : high level classes +################################################################################ +SignatureMethodRsaSha1 = 1 +SignatureMethodDsaSha1 = 2 +class Login: + """\brief Short desc + + Long desc + """ + def __init__(self, _obj): + """ + The constructor + """ + self._o = _obj + + def new(cls, server, user=None): + obj = lassomod.login_new(server, user) + return Login(obj) + new = classmethod(new) + + def add_provider(self, metadata, public_key=None, certificate=None): + lassomod.lasso_server_add_provider(self, metadata, + public_key, certificate) |
