summaryrefslogtreecommitdiffstats
path: root/lasso/xml/lib_assertion.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2008-05-15 21:17:44 +0000
committerFrederic Peters <fpeters@entrouvert.com>2008-05-15 21:17:44 +0000
commite5ba6151babcdfd0b4acb2749ae9478bf8983cba (patch)
tree180a8ac2dd068dccd3423658616f0ada0f9c7831 /lasso/xml/lib_assertion.c
parent23fdb5641e236171ac56af717f63df277948af3a (diff)
downloadlasso-e5ba6151babcdfd0b4acb2749ae9478bf8983cba.tar.gz
lasso-e5ba6151babcdfd0b4acb2749ae9478bf8983cba.tar.xz
lasso-e5ba6151babcdfd0b4acb2749ae9478bf8983cba.zip
moved gtk-doc inline as is better on so many points; also added schema
fragments to published doc
Diffstat (limited to 'lasso/xml/lib_assertion.c')
-rw-r--r--lasso/xml/lib_assertion.c29
1 files changed, 18 insertions, 11 deletions
diff --git a/lasso/xml/lib_assertion.c b/lasso/xml/lib_assertion.c
index 99eea68c..da5ae9b6 100644
--- a/lasso/xml/lib_assertion.c
+++ b/lasso/xml/lib_assertion.c
@@ -24,21 +24,26 @@
#include <lasso/xml/lib_assertion.h>
-/*
- * Authentication assertions provided in an <AuthnResponse> element MUST be of
+/**
+ * SECTION:lib_assertion
+ * @short_description: &lt;lib:Assertion&gt;
+ *
+ * <blockquote>
+ * Authentication assertions provided in an AuthnResponse element MUST be of
* type AssertionType, which is an extension of saml:AssertionType, so that the
- * RequestID attribute from the original <AuthnRequest> MAY be included in the
- * InResponseTo attribute in the <Assertion> element. This is done because it is
- * not required that the <AuthnResponse> element itself be signed. Instead, the
- * individual <Assertion> elements contained MUST each be signed. Note that it is
+ * RequestID attribute from the original AuthnRequest MAY be included in the
+ * InResponseTo attribute in the Assertion element. This is done because it is
+ * not required that the AuthnResponse element itself be signed. Instead, the
+ * individual Assertion elements contained MUST each be signed. Note that it is
* optional for the InResponseTo to be present. Its absence indicates that the
- * <AuthnResponse> has been unilaterally sent by the identity provider without a
- * corresponding <AuthnRequest> message from the service provider. If the
+ * AuthnResponse has been unilaterally sent by the identity provider without a
+ * corresponding AuthnRequest message from the service provider. If the
* attribute is present, it MUST be set to the RequestID of the original
- * <AuthnRequest>.
+ * AuthnRequest.
+ * </blockquote>
*
- * The schema fragment is as follows:
-
+ * <figure><title>Schema fragment for lib:Assertion</title>
+ * <programlisting><![CDATA[
* <xs:element name="Assertion" type="AssertionType" substitutionGroup="saml:Assertion" />
* <xs:complexType name="AssertionType">
* <xs:complexContent>
@@ -47,6 +52,8 @@
* </xs:extension>
* </xs:complexContent>
* </xs:complexType>
+ * ]]></programlisting>
+ * </figure>
*/
/*****************************************************************************/