| Lasso Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct LassoSaml2NameID; LassoNode * lasso_saml2_name_id_new (void); LassoNode * lasso_saml2_name_id_new_with_string (char *content); LassoSaml2NameID * lasso_saml2_name_id_build_persistent (const char *id,const char *idpID,const char *providerID); gboolean lasso_saml2_name_id_equals (LassoSaml2NameID *name_id,LassoSaml2NameID *other_name_id); LassoSaml2NameID * lasso_saml2_name_id_new_with_persistent_format (const char *id,const char *idpID,const char *providerID);
Figure 58. Schema fragment for saml2:NameID
<complexType name="NameIDType">
<simpleContent>
<extension base="string">
<attributeGroup ref="saml:IDNameQualifiers"/>
<attribute name="Format" type="anyURI" use="optional"/>
<attribute name="SPProvidedID" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
struct LassoSaml2NameID {
LassoNode parent;
/* elements */
char *content;
/* attributes */
char *Format;
char *SPProvidedID;
char *NameQualifier;
char *SPNameQualifier;
};
LassoNode * lasso_saml2_name_id_new (void);
Creates a new LassoSaml2NameID object.
Returns : |
a newly created LassoSaml2NameID object |
LassoNode * lasso_saml2_name_id_new_with_string (char *content);
Creates a new LassoSaml2NameID object and initializes it
with content. Beware that no format is set.
|
the Name Identifier. |
Returns : |
a newly created LassoSaml2NameID object |
LassoSaml2NameID * lasso_saml2_name_id_build_persistent (const char *id,const char *idpID,const char *providerID);
lasso_saml2_name_id_build_persistent has been deprecated since version 2.3 and should not be used in newly-written code. use lasso_saml2_name_id_new_with_persistent_format() instead.
Create a new LassoSaml2NameID object, which the LASSO_SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT
format, id as content, idpID as NameQualifier and providerID as SPNameQualifier.
|
the identifier for the princiapl |
|
the entity ID of the IdP |
|
the entity ID of the provider |
Returns : |
a newly created LassoSaml2NameID |
gboolean lasso_saml2_name_id_equals (LassoSaml2NameID *name_id,LassoSaml2NameID *other_name_id);
Return TRUE if name_id equals other_name_id.
|
a LassoSaml2NameID object |
|
another LassoSaml2NameID object |
Returns : |
TRUE if the two NameID are equal and are LassoSaml2NameID objects, FALSE otherwise. |
LassoSaml2NameID * lasso_saml2_name_id_new_with_persistent_format (const char *id,const char *idpID,const char *providerID);
Create a new LassoSaml2NameID object, which the LASSO_SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT
format, id as content, idpID as NameQualifier and providerID as SPNameQualifier.
|
the identifier for the princiapl |
|
the entity ID of the IdP |
|
the entity ID of the provider |
Returns : |
a newly created LassoSaml2NameID |
Since 2.3