From 2b9431bc3b079b150b9832101ff67d66ebb3535e Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Thu, 19 Aug 2004 12:52:19 +0000 Subject: Update python binding --- python/protocols/py_authn_request.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python/protocols/py_authn_request.c') 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))); } -- cgit