diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-19 12:52:19 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-19 12:52:19 +0000 |
commit | 2b9431bc3b079b150b9832101ff67d66ebb3535e (patch) | |
tree | 989e4d7e71e7c25a34fd1bf92439ae69bbbbe1b3 /python/protocols/py_authn_request.c | |
parent | 851e653728688d7ba38c2fc74bd37ff626eb1aa0 (diff) | |
download | lasso-2b9431bc3b079b150b9832101ff67d66ebb3535e.tar.gz lasso-2b9431bc3b079b150b9832101ff67d66ebb3535e.tar.xz lasso-2b9431bc3b079b150b9832101ff67d66ebb3535e.zip |
Update python binding
Diffstat (limited to 'python/protocols/py_authn_request.c')
-rw-r--r-- | python/protocols/py_authn_request.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/protocols/py_authn_request.c b/python/protocols/py_authn_request.c index 579f7973..b1e74aca 100644 --- a/python/protocols/py_authn_request.c +++ b/python/protocols/py_authn_request.c @@ -44,11 +44,13 @@ PyObject *LassoAuthnRequest_wrap(LassoAuthnRequest *request) { PyObject *authn_request_new(PyObject *self, PyObject *args) { const xmlChar *providerID; LassoNode *request; + gint sign_type, sign_method; - if(!PyArg_ParseTuple(args, (char *) "s:authn_request_new", &providerID)) + if(!PyArg_ParseTuple(args, (char *) "sii:authn_request_new", &providerID, + &sign_type, &sign_method)) return NULL; - request = lasso_authn_request_new(providerID); + request = lasso_authn_request_new(providerID, sign_type, sign_method); return (LassoAuthnRequest_wrap(LASSO_AUTHN_REQUEST(request))); } |