diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-25 15:13:54 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-25 15:13:54 +0000 |
| commit | f2793350a25e49eac9e9f6fc4478eb94cd3bf0f2 (patch) | |
| tree | f14c424df488ba911e09a8152b144700aae39848 /python | |
| parent | 6023d78531b610cda5badb62340da8e32b165530 (diff) | |
| download | lasso-f2793350a25e49eac9e9f6fc4478eb94cd3bf0f2.tar.gz lasso-f2793350a25e49eac9e9f6fc4478eb94cd3bf0f2.tar.xz lasso-f2793350a25e49eac9e9f6fc4478eb94cd3bf0f2.zip | |
Many little fixs
Diffstat (limited to 'python')
| -rw-r--r-- | python/environs/py_login.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/python/environs/py_login.c b/python/environs/py_login.c index c323d8f9..32b45b4a 100644 --- a/python/environs/py_login.c +++ b/python/environs/py_login.c @@ -57,9 +57,10 @@ PyObject *login_getattr(PyObject *self, PyObject *args) { if (!strcmp(attr, "__members__")) return Py_BuildValue("[ssssssssssss]", "user", "request", "response", - "request_type", "response_type", "provider_type", + "request_type", "response_type", "nameIdentifier", + "provider_type", "msg_url", "msg_body", "msg_relayState", "response_dump", - "protocolProfile", "assertionArtifact", "nameIdentifier"); + "protocolProfile", "assertionArtifact"); if (!strcmp(attr, "user")) return (LassoUser_wrap(LASSO_PROFILE_CONTEXT(login)->user)); if (!strcmp(attr, "request")) @@ -70,6 +71,8 @@ PyObject *login_getattr(PyObject *self, PyObject *args) { return (int_wrap(LASSO_PROFILE_CONTEXT(login)->request_type)); if (!strcmp(attr, "response_type")) return (int_wrap(LASSO_PROFILE_CONTEXT(login)->response_type)); + if (!strcmp(attr, "nameIdentifier")) + return (charPtrConst_wrap(LASSO_PROFILE_CONTEXT(login)->nameIdentifier)); if (!strcmp(attr, "provider_type")) return (int_wrap(LASSO_PROFILE_CONTEXT(login)->provider_type)); if (!strcmp(attr, "msg_url")) @@ -84,8 +87,6 @@ PyObject *login_getattr(PyObject *self, PyObject *args) { return (int_wrap(login->protocolProfile)); if (!strcmp(attr, "assertionArtifact")) return (charPtrConst_wrap(login->assertionArtifact)); - if (!strcmp(attr, "nameIdentifier")) - return (charPtrConst_wrap(login->nameIdentifier)); Py_INCREF(Py_None); return (Py_None); |
