Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LassoEcpResponse: Lasso Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Lasso Reference Manual">
<link rel="up" href="xml-samlv2.html" title="Objects from SAML 2.0 schemas">
<link rel="prev" href="lasso-LassoEcpRequest.html" title="LassoEcpRequest">
<link rel="next" href="lasso-LassoEcpRelayState.html" title="LassoEcpRelayState">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#lasso-LassoEcpResponse.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="xml-samlv2.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="lasso-LassoEcpRequest.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="lasso-LassoEcpRelayState.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="lasso-LassoEcpResponse"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="lasso-LassoEcpResponse.top_of_page"></a>LassoEcpResponse</span></h2>
<p>LassoEcpResponse — &lt;ecp:Response&gt;</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="lasso-LassoEcpResponse.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="lasso-LassoEcpResponse.html#lasso-ecp-response-validate" title="lasso_ecp_response_validate ()">lasso_ecp_response_validate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="lasso-node.html#LassoNode" title="struct LassoNode"><span class="returnvalue">LassoNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="lasso-LassoEcpResponse.html#lasso-ecp-response-new" title="lasso_ecp_response_new ()">lasso_ecp_response_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="lasso-LassoEcpResponse.description"></a><h2>Description</h2>
<div class="figure">
<a name="id-1.3.6.55.4.2"></a><p class="title"><b>Figure 95. Schema fragment for ecp:Response</b></p>
<div class="figure-contents"><pre class="programlisting">

&lt;element name="Response" type="ecp:ResponseType"/&gt;
&lt;complexType name="ResponseType"&gt;
    &lt;attribute ref="S:mustUnderstand" use="required"/&gt;
    &lt;attribute ref="S:actor" use="required"/&gt;
    &lt;attribute name="AssertionConsumerServiceURL" type="anyURI" use="required"/&gt;
&lt;/complexType&gt;
</pre></div>
</div>
<br class="figure-break">
</div>
<div class="refsect1">
<a name="lasso-LassoEcpResponse.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="lasso-ecp-response-validate"></a><h3>lasso_ecp_response_validate ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
lasso_ecp_response_validate (<em class="parameter"><code><span class="type">LassoEcpResponse</span> *response</code></em>);</pre>
<p>Validates the <span class="type">LassoEcpResponse</span> object conforms to required values.</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">AssertionConsumerServiceURL must be non-NULL</li>
<li class="listitem">mustUnderstand must be TRUE</li>
<li class="listitem">actor must be equal to <a class="link" href="lasso-Strings-for-SOAP.html#LASSO-SOAP-ENV-ACTOR:CAPS" title="LASSO_SOAP_ENV_ACTOR"><span class="type">LASSO_SOAP_ENV_ACTOR</span></a>
</li>
</ul></div>
<div class="refsect3">
<a name="lasso-ecp-response-validate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>response</p></td>
<td class="parameter_description"><p>The <span class="type">LassoEcpResponse</span> object to validate</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="lasso-ecp-response-validate.returns"></a><h4>Returns</h4>
<p> 0 on success, error code otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lasso-ecp-response-new"></a><h3>lasso_ecp_response_new ()</h3>
<pre class="programlisting"><a class="link" href="lasso-node.html#LassoNode" title="struct LassoNode"><span class="returnvalue">LassoNode</span></a> *
lasso_ecp_response_new (<em class="parameter"><code>const <span class="type">gchar</span> *AssertionConsumerServiceURL</code></em>);</pre>
<p>Creates and initializes a new <span class="type">LassoEcpResponse</span> object.</p>
<p>The # object is initialized as follows:</p>
<div class="literallayout"><p><br>
  AssertionConsumerServiceURL = <em class="parameter"><code>AssertionConsumerServiceURL</code></em><br>
  mustUnderstand = TRUE<br>
  actor = <a class="link" href="lasso-Strings-for-SOAP.html#LASSO-SOAP-ENV-ACTOR:CAPS" title="LASSO_SOAP_ENV_ACTOR"><span class="type">LASSO_SOAP_ENV_ACTOR</span></a><br>
</p></div>
<div class="refsect3">
<a name="lasso-ecp-response-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>AssertionConsumerServiceURL</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="lasso-ecp-response-new.returns"></a><h4>Returns</h4>
<p> a newly created and initialized <span class="type">LassoEcpResponse</span> object</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="lasso-LassoEcpResponse.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>