Top |
Figure 77. Schema fragment for samlp2:LogoutRequest
<complexType name="LogoutRequestType"> <complexContent> <extension base="samlp:RequestAbstractType"> <sequence> <choice> <element ref="saml:BaseID"/> <element ref="saml:NameID"/> <element ref="saml:EncryptedID"/> </choice> <element ref="samlp:SessionIndex" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="Reason" type="string" use="optional"/> <attribute name="NotOnOrAfter" type="dateTime" use="optional"/> </extension> </complexContent> </complexType>
LassoNode *
lasso_samlp2_logout_request_new (void
);
Creates a new LassoSamlp2LogoutRequest object.
GList *
lasso_samlp2_logout_request_get_session_indexes
(LassoSamlp2LogoutRequest *logout_request
);
If the logout request contains more than one SessionIndex element, this method must be used to retrieve due to historical circonstances. It will a return a list of the content of the SessionIndex elements.
void lasso_samlp2_logout_request_set_session_indexes (LassoSamlp2LogoutRequest *logout_request
,GList *session_index
);
If you want to set more than one SessionIndex on a LogoutRequest, use this method. Beware that the public field named SessionIndex corresponds to the last element in this list. This is an symptom of the way elements are parsed by Lasso.
struct LassoSamlp2LogoutRequest { LassoSamlp2RequestAbstract parent; /* elements */ LassoSaml2BaseIDAbstract *BaseID; LassoSaml2NameID *NameID; LassoSaml2EncryptedElement *EncryptedID; char *SessionIndex; /* attributes */ char *Reason; char *NotOnOrAfter; /* This field is deprecated do not use it, * kept for ABI compatibility */ };
LassoSamlp2LogoutRequest
is deprecated and should not be used in newly-written code.