summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 08:19:00 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 08:19:00 +0000
commitdf81b3438f247a80a09180bdc918177f0b7ad327 (patch)
tree000735fdb83ab7c967689022b2dd1121dee38d50
parent913f1596971fd73fda038e37ce75ec31965557be (diff)
downloadlasso-df81b3438f247a80a09180bdc918177f0b7ad327.tar.gz
lasso-df81b3438f247a80a09180bdc918177f0b7ad327.tar.xz
lasso-df81b3438f247a80a09180bdc918177f0b7ad327.zip
Complete document of lasso_login_build_assertion
* lasso/id-ff/login.c: add possible return codes.
-rw-r--r--lasso/id-ff/login.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c
index dd1fc8d5..25fb2ddd 100644
--- a/lasso/id-ff/login.c
+++ b/lasso/id-ff/login.c
@@ -246,7 +246,11 @@ lasso_login_assertion_add_discovery(LassoLogin *login, LassoSamlAssertion *asser
* @notOnOrAfter may be NULL. If @authenticationInstant is NULL, the current
* time will be used. Time values must be encoded in UTC.
*
- * 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_IDENTITY_NOT_FOUND if no identity object was found in the login profile
+ * object.
+ *
**/
int
lasso_login_build_assertion(LassoLogin *login,