LassoLibAuthenticationStatement

LassoLibAuthenticationStatement —

Synopsis


#include <lasso/lasso.h>


            LassoLibAuthenticationStatement;
LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new
                                            (void);
LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new_full
                                            (const char *authenticationMethod,
                                             const char *authenticationInstant,
                                             const char *reauthenticateOnOrAfter,
                                             LassoSamlNameIdentifier *sp_identifier,
                                             LassoSamlNameIdentifier *idp_identifier);

Object Hierarchy


  GObject
   +----LassoNode
         +----LassoSamlStatementAbstract
               +----LassoSamlSubjectStatementAbstract
                     +----LassoSamlAuthenticationStatement
                           +----LassoLibAuthenticationStatement

Description

Details

LassoLibAuthenticationStatement

typedef struct {
	/* <xs:element ref="AuthnContext" minOccurs="0"/> */
	LassoLibAuthnContext *AuthnContext;
	/* <xs:attribute name="ReauthenticateOnOrAfter" type="xs:dateTime" use="optional"/> */
	char *ReauthenticateOnOrAfter;
	/* <xs:attribute name="SessionIndex" type="xs:string" use="required"/> */
	char *SessionIndex;
} LassoLibAuthenticationStatement;


lasso_lib_authentication_statement_new ()

LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new
                                            (void);

Creates a new LassoLibAuthenticationStatement object.

Returns : a newly created LassoLibAuthenticationStatement object

lasso_lib_authentication_statement_new_full ()

LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new_full
                                            (const char *authenticationMethod,
                                             const char *authenticationInstant,
                                             const char *reauthenticateOnOrAfter,
                                             LassoSamlNameIdentifier *sp_identifier,
                                             LassoSamlNameIdentifier *idp_identifier);

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

authenticationMethod :
authenticationInstant : AuthenticationInstant (NULL to get current time)
reauthenticateOnOrAfter :
sp_identifier :
idp_identifier :
Returns : a newly created LassoLibAuthenticationStatement object