Top |
Figure 32. Schema fragment for saml:NameIdentifier
<element name="NameIdentifier" type="saml:NameIdentifierType"/> <complexType name="NameIdentifierType"> <simpleContent> <extension base="string"> <attribute name="NameQualifier" type="string" use="optional"/> <attribute name="Format" type="anyURI" use="optional"/> </extension> </simpleContent> </complexType>
LassoSamlNameIdentifier *
lasso_saml_name_identifier_new (void
);
Creates a new LassoSamlNameIdentifier object.
LassoSamlNameIdentifier *
lasso_saml_name_identifier_new_from_xmlNode
(xmlNode *xmlnode
);
struct LassoSamlNameIdentifier { LassoNode parent; char *NameQualifier; char *Format; char *content; };
NameQualifier
is the provider ID of the provider that created the name
identifier.
Format
is a string constant defined by the Liberty
Alliance. The following constants are defined:
LASSO_LIB_NAME_IDENTIFIER_FORMAT_FEDERATED,
LASSO_LIB_NAME_IDENTIFIER_FORMAT_ONE_TIME,
LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENCRYPTED (when providers transmit name
identifiers) and
LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENTITYID.