summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 08:19:09 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 08:19:09 +0000
commitf12c2e73325dd6e8dc3e9660f9e91bccf72c9aa8 (patch)
treed0a7d673c36c16dd37c6ebe9c9c864eae6e04ecd
parent530e6ceac03ec2a6487c00f34faf4a66a16a3736 (diff)
Complet documentation for lasso_login_build_authn_response_msg
* lasso/id-ff/login.c: add all possible return codes with meaning.
-rw-r--r--lasso/id-ff/login.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c
index fd87855b..86c12c62 100644
--- a/lasso/id-ff/login.c
+++ b/lasso/id-ff/login.c
@@ -1078,7 +1078,15 @@ lasso_login_build_authn_request_msg(LassoLogin *login)
* The URL is set into the @msg_url member and the field value (LARES) is set
* into the @msg_body member.
*
- * 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_INVALID_PROTOCOLPROFILE if the current protocol profile is not
+ * LASSO_LOGIN_PROTOCOL_PROFILE_BRWS_POST or LASSO_LOGIN_PROTOCOL_PROFILE_BRWS_LECP,
+ * LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND if the remote provider ID is not registered in the server
+ * object,
+ * LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL if the metadata of the remote provider does not contain
+ * an URL for the assertion consuming service.
+ *
**/
gint
lasso_login_build_authn_response_msg(LassoLogin *login)