diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-04-27 08:19:04 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-04-27 08:19:04 +0000 |
| commit | 77495e50d3fe477290dbb2aa16b3694d23f310f1 (patch) | |
| tree | ad91f250afddbe263556c171d6b94beb8efabd6a | |
| parent | 6f79955dfb1e28bd7d0e0f46b1f1ba0e8c4499d2 (diff) | |
Complet documentation of lasso_login_accept_sso
* lasso/id-ff/login.c:
add all possible return codes.
| -rw-r--r-- | lasso/id-ff/login.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index c8ce784d..5e94d2af 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -686,7 +686,15 @@ cleanup: * and adds it into the identity. * If the session or the identity are NULL, they are created. * - * Return value: 0 on success; or a negative value otherwise. + * Return value: 0 on success; or + * LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if login is not a #LassoLogin object, + * LASSO_PROFILE_ERROR_MISSING_RESPONSE if no response is present in the login profile object -- + * usually because no call to lasso_login_process_authn_response_msg was donne --, + * LASSO_PROFILE_ERROR_MISSING_ASSERTION if the response does not contain an assertion, + * LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND if the assertion does not contain a NameID element, + * LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER idem, + * LASSO_LOGIN_ERROR_ASSERTION_REPLAY if the assertion has already been used. + * **/ gint lasso_login_accept_sso(LassoLogin *login) |
