diff options
| -rw-r--r-- | lasso/id-ff/login.c | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index a154b90d..8cdc26fe 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -714,20 +714,34 @@ cleanup: * lasso_login_accept_sso: * @login: a #LassoLogin * - * Gets the assertion of the response and adds it into the session. + * Gets the assertion of the response and adds it to the #LassoSession object. * Builds a federation with the 2 name identifiers of the assertion * and adds it into the identity. * If the session or the identity are NULL, they are created. * * 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. - * + * <itemizedlist> + * <listitem><para> + * #LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if login is not a #LassoLogin object, + * </para></listitem> + * <listitem><para> + * #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 —, + * </para></listitem> + * <listitem><para> + * #LASSO_PROFILE_ERROR_MISSING_ASSERTION if the response does not contain an assertion, + * </para></listitem> + * <listitem><para> + * #LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND if the assertion does not contain a NameID element, + * </para></listitem> + * <listitem><para> + * #LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER same as + * #LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND, + * </para></listitem> + * <listitem><para> + * #LASSO_LOGIN_ERROR_ASSERTION_REPLAY if the assertion has already been used. + * </para></listitem> + * <itemizedlist> **/ gint lasso_login_accept_sso(LassoLogin *login) |
