diff options
Diffstat (limited to 'python/protocols')
| -rw-r--r-- | python/protocols/py_authn_response.c | 22 | ||||
| -rw-r--r-- | python/protocols/py_authn_response.h | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/python/protocols/py_authn_response.c b/python/protocols/py_authn_response.c index d47223fd..302aeb1a 100644 --- a/python/protocols/py_authn_response.c +++ b/python/protocols/py_authn_response.c @@ -106,28 +106,6 @@ PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args) return (LassoAuthnResponse_wrap(LASSO_AUTHN_RESPONSE(response))); } -PyObject *authn_response_add_assertion(PyObject *self, PyObject *args) { - PyObject *response_obj, *assertion_obj; - const xmlChar *private_key_file; - const xmlChar *certificate_file; - - if (CheckArgs(args, "OOSS:authn_response_add_assertion")) { - if(!PyArg_ParseTuple(args, (char *) "OOss:authn_response_add_assertion", - &response_obj, &assertion_obj, - &private_key_file, &certificate_file)) - return NULL; - } - else return NULL; - - lasso_authn_response_add_assertion(LassoAuthnResponse_get(response_obj), - LassoAssertion_get(assertion_obj), - private_key_file, - certificate_file); - - Py_INCREF(Py_None); - return (Py_None); -} - PyObject *authn_response_must_authenticate(PyObject *self, PyObject *args) { PyObject *response_obj; gboolean is_authenticated; diff --git a/python/protocols/py_authn_response.h b/python/protocols/py_authn_response.h index 79e3f20b..429745bd 100644 --- a/python/protocols/py_authn_response.h +++ b/python/protocols/py_authn_response.h @@ -40,7 +40,6 @@ PyObject *LassoAuthnResponse_wrap(LassoAuthnResponse *response); PyObject *authn_response_getattr(PyObject *self, PyObject *args); PyObject *authn_response_new_from_dump(PyObject *self, PyObject *args); PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args); -PyObject *authn_response_add_assertion(PyObject *self, PyObject *args); PyObject *authn_response_must_authenticate(PyObject *self, PyObject *args); PyObject *authn_response_process_authentication_result(PyObject *self, PyObject *args); PyObject *authn_response_verify_signature(PyObject *self, PyObject *args); |
