LassoLibAssertion

LassoLibAssertion — <lib:Assertion>

Synopsis


#include <lasso/lasso.h>

                    LassoLibAssertion;
LassoLibAssertion*  lasso_lib_assertion_new             (void);
LassoLibAssertion*  lasso_lib_assertion_new_full        (const char *issuer,
                                                         const char *requestID,
                                                         const char *audience,
                                                         const char *notBefore,
                                                         const char *notOnOrAfter);

Object Hierarchy

  GObject
   +----LassoNode
         +----LassoSamlAssertion
               +----LassoLibAssertion

Description

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 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 attribute is present, it MUST be set to the RequestID of the original AuthnRequest.

Figure 1. Schema fragment for lib:Assertion

<xs:element name="Assertion" type="AssertionType" substitutionGroup="saml:Assertion" />
<xs:complexType name="AssertionType">
  <xs:complexContent>
    <xs:extension base="saml:AssertionType">
      <xs:attribute name="InResponseTo" type="xs:NCName" use="optional"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>


Details

LassoLibAssertion

typedef struct {
	char *InResponseTo;
} LassoLibAssertion;


lasso_lib_assertion_new ()

LassoLibAssertion*  lasso_lib_assertion_new             (void);

Creates a new LassoLibAssertion object.

Returns : a newly created LassoLibAssertion object

lasso_lib_assertion_new_full ()

LassoLibAssertion*  lasso_lib_assertion_new_full        (const char *issuer,
                                                         const char *requestID,
                                                         const char *audience,
                                                         const char *notBefore,
                                                         const char *notOnOrAfter);

Creates a new LassoLibAssertion object and initializes it with the parameters.

issuer :
requestID :
audience :
notBefore :
notOnOrAfter :
Returns : a newly created LassoLibAssertion object