updated SAML2 bindings with all attributes; and added copyright / licence

notice.
This commit is contained in:
Frédéric Péters 2007-08-13 10:43:37 +00:00
parent 0d9c106ab6
commit a570bf599e
48 changed files with 1430 additions and 111 deletions

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Action) LassoSaml2Action;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Advice) LassoSaml2Advice;
@ -6,6 +29,30 @@ typedef struct {
} LassoSaml2Advice;
%extend LassoSaml2Advice {
#ifndef SWIG_PHP_RENAMES
%rename(assertionIDRef) AssertionIDRef;
#endif
%newobject AssertionIDRef_get;
LassoNodeList *AssertionIDRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertionURIRef) AssertionURIRef;
#endif
%newobject AssertionURIRef_get;
LassoStringList *AssertionURIRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* Constructor, Destructor & Static Methods */
LassoSaml2Advice();
@ -18,6 +65,38 @@ typedef struct {
%{
/* AssertionIDRef */
#define LassoSaml2Advice_get_AssertionIDRef(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Advice_AssertionIDRef_get(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Advice_set_AssertionIDRef(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
#define LassoSaml2Advice_AssertionIDRef_set(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
/* AssertionURIRef */
#define LassoSaml2Advice_get_AssertionURIRef(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Advice_AssertionURIRef_get(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Advice_set_AssertionURIRef(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
#define LassoSaml2Advice_AssertionURIRef_set(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
/* Assertion */
#define LassoSaml2Advice_get_Assertion(self) get_node((self)->Assertion)
#define LassoSaml2Advice_Assertion_get(self) get_node((self)->Assertion)
#define LassoSaml2Advice_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSaml2Advice_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSaml2Advice_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Advice_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Advice_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSaml2Advice_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Assertion) LassoSaml2Assertion;
@ -21,27 +44,33 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer;
#endif
%newobject *Issuer_get;
%newobject Issuer_get;
LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES
%rename(subject) Subject;
#endif
%newobject *Subject_get;
%newobject Subject_get;
LassoSaml2Subject *Subject;
#ifndef SWIG_PHP_RENAMES
%rename(conditions) Conditions;
#endif
%newobject *Conditions_get;
%newobject Conditions_get;
LassoSaml2Conditions *Conditions;
#ifndef SWIG_PHP_RENAMES
%rename(advice) Advice;
#endif
%newobject *Advice_get;
%newobject Advice_get;
LassoSaml2Advice *Advice;
#ifndef SWIG_PHP_RENAMES
%rename(statement) Statement;
#endif
%newobject Statement_get;
LassoNodeList *Statement;
#ifndef SWIG_PHP_RENAMES
%rename(authnStatement) AuthnStatement;
#endif
@ -60,6 +89,7 @@ typedef struct {
%newobject AttributeStatement_get;
LassoNodeList *AttributeStatement;
/* Constructor, Destructor & Static Methods */
LassoSaml2Assertion();
~LassoSaml2Assertion();
@ -102,30 +132,38 @@ typedef struct {
#define LassoSaml2Assertion_set_Advice(self,value) set_node((gpointer*)&(self)->Advice, (value))
#define LassoSaml2Assertion_Advice_set(self,value) set_node((gpointer*)&(self)->Advice, (value))
/* Statement */
#define LassoSaml2Assertion_get_Statement(self) get_node((self)->Statement)
#define LassoSaml2Assertion_Statement_get(self) get_node((self)->Statement)
#define LassoSaml2Assertion_set_Statement(self,value) set_node((gpointer*)&(self)->Statement, (value))
#define LassoSaml2Assertion_Statement_set(self,value) set_node((gpointer*)&(self)->Statement, (value))
/* AuthnStatement */
#define LassoSaml2Assertion_get_AuthnStatement(self) get_node_list((self)->AuthnStatement)
#define LassoSaml2Assertion_AuthnStatement_get(self) get_node_list((self)->AuthnStatement)
#define LassoSaml2Assertion_set_AuthnStatement(self, value) set_node_list(&(self)->AuthnStatement, (value))
#define LassoSaml2Assertion_AuthnStatement_set(self, value) set_node_list(&(self)->AuthnStatement, (value))
#define LassoSaml2Assertion_get_AuthnStatement(self) get_node((self)->AuthnStatement)
#define LassoSaml2Assertion_AuthnStatement_get(self) get_node((self)->AuthnStatement)
#define LassoSaml2Assertion_set_AuthnStatement(self,value) set_node((gpointer*)&(self)->AuthnStatement, (value))
#define LassoSaml2Assertion_AuthnStatement_set(self,value) set_node((gpointer*)&(self)->AuthnStatement, (value))
/* AuthzDecisionStatement */
#define LassoSaml2Assertion_get_AuthzDecisionStatement(self) get_node_list((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_AuthzDecisionStatement_get(self) get_node_list((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_set_AuthzDecisionStatement(self, value) set_node_list(&(self)->AuthzDecisionStatement, (value))
#define LassoSaml2Assertion_AuthzDecisionStatement_set(self, value) set_node_list(&(self)->AuthzDecisionStatement, (value))
#define LassoSaml2Assertion_get_AuthzDecisionStatement(self) get_node((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_AuthzDecisionStatement_get(self) get_node((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_set_AuthzDecisionStatement(self,value) set_node((gpointer*)&(self)->AuthzDecisionStatement, (value))
#define LassoSaml2Assertion_AuthzDecisionStatement_set(self,value) set_node((gpointer*)&(self)->AuthzDecisionStatement, (value))
/* AttributeStatement */
#define LassoSaml2Assertion_get_AttributeStatement(self) get_node_list((self)->AttributeStatement)
#define LassoSaml2Assertion_AttributeStatement_get(self) get_node_list((self)->AttributeStatement)
#define LassoSaml2Assertion_set_AttributeStatement(self, value) set_node_list(&(self)->AttributeStatement, (value))
#define LassoSaml2Assertion_AttributeStatement_set(self, value) set_node_list(&(self)->AttributeStatement, (value))
#define LassoSaml2Assertion_get_AttributeStatement(self) get_node((self)->AttributeStatement)
#define LassoSaml2Assertion_AttributeStatement_get(self) get_node((self)->AttributeStatement)
#define LassoSaml2Assertion_set_AttributeStatement(self,value) set_node((gpointer*)&(self)->AttributeStatement, (value))
#define LassoSaml2Assertion_AttributeStatement_set(self,value) set_node((gpointer*)&(self)->AttributeStatement, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Attribute) LassoSaml2Attribute;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2AttributeStatement) LassoSaml2AttributeStatement;
@ -6,6 +29,18 @@ typedef struct {
} LassoSaml2AttributeStatement;
%extend LassoSaml2AttributeStatement {
#ifndef SWIG_PHP_RENAMES
%rename(attribute) Attribute;
#endif
%newobject Attribute_get;
LassoNodeList *Attribute;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAttribute) EncryptedAttribute;
#endif
%newobject EncryptedAttribute_get;
LassoNodeList *EncryptedAttribute;
/* inherited from Saml2StatementAbstract */
/* Constructor, Destructor & Static Methods */
@ -19,6 +54,22 @@ typedef struct {
%{
/* Attribute */
#define LassoSaml2AttributeStatement_get_Attribute(self) get_node((self)->Attribute)
#define LassoSaml2AttributeStatement_Attribute_get(self) get_node((self)->Attribute)
#define LassoSaml2AttributeStatement_set_Attribute(self,value) set_node((gpointer*)&(self)->Attribute, (value))
#define LassoSaml2AttributeStatement_Attribute_set(self,value) set_node((gpointer*)&(self)->Attribute, (value))
/* EncryptedAttribute */
#define LassoSaml2AttributeStatement_get_EncryptedAttribute(self) get_node((self)->EncryptedAttribute)
#define LassoSaml2AttributeStatement_EncryptedAttribute_get(self) get_node((self)->EncryptedAttribute)
#define LassoSaml2AttributeStatement_set_EncryptedAttribute(self,value) set_node((gpointer*)&(self)->EncryptedAttribute, (value))
#define LassoSaml2AttributeStatement_EncryptedAttribute_set(self,value) set_node((gpointer*)&(self)->EncryptedAttribute, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2AudienceRestriction) LassoSaml2AudienceRestriction;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthnContext) LassoSaml2AuthnContext;
@ -12,7 +35,7 @@ typedef struct {
#endif
char *AuthnContextDeclRef;
#ifndef SWIG_PHP_RENAMES
%rename(authenticationAuthority) AuthenticationAuthority;
%rename(authenticatingAuthority) AuthenticatingAuthority;
#endif
char *AuthenticatingAuthority;
} LassoSaml2AuthnContext;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthnStatement) LassoSaml2AuthnStatement;
@ -21,13 +44,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(subjectLocality) SubjectLocality;
#endif
%newobject *SubjectLocality_get;
%newobject SubjectLocality_get;
LassoSaml2SubjectLocality *SubjectLocality;
#ifndef SWIG_PHP_RENAMES
%rename(authnContext) AuthnContext;
#endif
%newobject *AuthnContext_get;
%newobject AuthnContext_get;
LassoSaml2AuthnContext *AuthnContext;
/* inherited from Saml2StatementAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthzDecisionStatement) LassoSaml2AuthzDecisionStatement;
@ -17,13 +40,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(action) Action;
#endif
%newobject *Action_get;
%newobject Action_get;
LassoSaml2Action *Action;
#ifndef SWIG_PHP_RENAMES
%rename(evidence) Evidence;
#endif
%newobject *Evidence_get;
%newobject Evidence_get;
LassoSaml2Evidence *Evidence;
/* inherited from Saml2StatementAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2BaseIDAbstract) LassoSaml2BaseIDAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2ConditionAbstract) LassoSaml2ConditionAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Conditions) LassoSaml2Conditions;
@ -13,6 +36,7 @@ typedef struct {
char *NotOnOrAfter;
} LassoSaml2Conditions;
%extend LassoSaml2Conditions {
#ifndef SWIG_PHP_RENAMES
%rename(condition) Condition;
#endif
@ -25,6 +49,19 @@ typedef struct {
%newobject AudienceRestriction_get;
LassoNodeList *AudienceRestriction;
#ifndef SWIG_PHP_RENAMES
%rename(oneTimeUse) OneTimeUse;
#endif
%newobject OneTimeUse_get;
LassoNodeList *OneTimeUse;
#ifndef SWIG_PHP_RENAMES
%rename(proxyRestriction) ProxyRestriction;
#endif
%newobject ProxyRestriction_get;
LassoNodeList *ProxyRestriction;
/* Constructor, Destructor & Static Methods */
LassoSaml2Conditions();
~LassoSaml2Conditions();
@ -38,19 +75,35 @@ typedef struct {
/* Condition */
#define LassoSaml2Conditions_get_Condition(self) get_node_list((self)->Condition)
#define LassoSaml2Conditions_Condition_get(self) get_node_list((self)->Condition)
#define LassoSaml2Conditions_set_Condition(self, value) set_node_list(&(self)->Condition, (value))
#define LassoSaml2Conditions_Condition_set(self, value) set_node_list(&(self)->Condition, (value))
#define LassoSaml2Conditions_get_Condition(self) get_node((self)->Condition)
#define LassoSaml2Conditions_Condition_get(self) get_node((self)->Condition)
#define LassoSaml2Conditions_set_Condition(self,value) set_node((gpointer*)&(self)->Condition, (value))
#define LassoSaml2Conditions_Condition_set(self,value) set_node((gpointer*)&(self)->Condition, (value))
/* AudienceRestriction */
#define LassoSaml2Conditions_get_AudienceRestriction(self) get_node_list((self)->AudienceRestriction)
#define LassoSaml2Conditions_AudienceRestriction_get(self) get_node_list((self)->AudienceRestriction)
#define LassoSaml2Conditions_set_AudienceRestriction(self, value) set_node_list(&(self)->AudienceRestriction, (value))
#define LassoSaml2Conditions_AudienceRestriction_set(self, value) set_node_list(&(self)->AudienceRestriction, (value))
#define LassoSaml2Conditions_get_AudienceRestriction(self) get_node((self)->AudienceRestriction)
#define LassoSaml2Conditions_AudienceRestriction_get(self) get_node((self)->AudienceRestriction)
#define LassoSaml2Conditions_set_AudienceRestriction(self,value) set_node((gpointer*)&(self)->AudienceRestriction, (value))
#define LassoSaml2Conditions_AudienceRestriction_set(self,value) set_node((gpointer*)&(self)->AudienceRestriction, (value))
/* OneTimeUse */
#define LassoSaml2Conditions_get_OneTimeUse(self) get_node((self)->OneTimeUse)
#define LassoSaml2Conditions_OneTimeUse_get(self) get_node((self)->OneTimeUse)
#define LassoSaml2Conditions_set_OneTimeUse(self,value) set_node((gpointer*)&(self)->OneTimeUse, (value))
#define LassoSaml2Conditions_OneTimeUse_set(self,value) set_node((gpointer*)&(self)->OneTimeUse, (value))
/* ProxyRestriction */
#define LassoSaml2Conditions_get_ProxyRestriction(self) get_node((self)->ProxyRestriction)
#define LassoSaml2Conditions_ProxyRestriction_get(self) get_node((self)->ProxyRestriction)
#define LassoSaml2Conditions_set_ProxyRestriction(self,value) set_node((gpointer*)&(self)->ProxyRestriction, (value))
#define LassoSaml2Conditions_ProxyRestriction_set(self,value) set_node((gpointer*)&(self)->ProxyRestriction, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2EncryptedElement) LassoSaml2EncryptedElement;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Evidence) LassoSaml2Evidence;
@ -6,6 +29,30 @@ typedef struct {
} LassoSaml2Evidence;
%extend LassoSaml2Evidence {
#ifndef SWIG_PHP_RENAMES
%rename(assertionIDRef) AssertionIDRef;
#endif
%newobject AssertionIDRef_get;
LassoNodeList *AssertionIDRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertionURIRef) AssertionURIRef;
#endif
%newobject AssertionURIRef_get;
LassoStringList *AssertionURIRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* Constructor, Destructor & Static Methods */
LassoSaml2Evidence();
@ -18,6 +65,38 @@ typedef struct {
%{
/* AssertionIDRef */
#define LassoSaml2Evidence_get_AssertionIDRef(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Evidence_AssertionIDRef_get(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Evidence_set_AssertionIDRef(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
#define LassoSaml2Evidence_AssertionIDRef_set(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
/* AssertionURIRef */
#define LassoSaml2Evidence_get_AssertionURIRef(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Evidence_AssertionURIRef_get(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Evidence_set_AssertionURIRef(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
#define LassoSaml2Evidence_AssertionURIRef_set(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
/* Assertion */
#define LassoSaml2Evidence_get_Assertion(self) get_node((self)->Assertion)
#define LassoSaml2Evidence_Assertion_get(self) get_node((self)->Assertion)
#define LassoSaml2Evidence_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSaml2Evidence_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSaml2Evidence_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Evidence_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Evidence_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSaml2Evidence_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2KeyInfoConfirmationData) LassoSaml2KeyInfoConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2NameID) LassoSaml2NameID;
@ -9,7 +32,7 @@ typedef struct {
#endif
char *Format;
#ifndef SWIG_PHP_RENAMES
%rename(spProviderId) SPProviderID;
%rename(spProvidedId) SPProvidedID;
#endif
char *SPProvidedID;
#ifndef SWIG_PHP_RENAMES

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2OneTimeUse) LassoSaml2OneTimeUse;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2ProxyRestriction) LassoSaml2ProxyRestriction;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2StatementAbstract) LassoSaml2StatementAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2Subject) LassoSaml2Subject;
@ -9,25 +32,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID;
#endif
%newobject *BaseID_get;
%newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES
%rename(subjectConfirmation) SubjectConfirmation;
#endif
%newobject *SubjectConfirmation_get;
%newobject SubjectConfirmation_get;
LassoSaml2SubjectConfirmation *SubjectConfirmation;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectConfirmation) LassoSaml2SubjectConfirmation;
@ -13,25 +36,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID;
#endif
%newobject *BaseID_get;
%newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES
%rename(subjectConfirmationData) SubjectConfirmationData;
#endif
%newobject *SubjectConfirmationData_get;
%newobject SubjectConfirmationData_get;
LassoSaml2SubjectConfirmationData *SubjectConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectConfirmationData) LassoSaml2SubjectConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectLocality) LassoSaml2SubjectLocality;
@ -8,7 +31,7 @@ typedef struct {
#endif
char *Address;
#ifndef SWIG_PHP_RENAMES
%rename(dnsName) DNSName;
%rename(dNSName) DNSName;
#endif
char *DNSName;
} LassoSaml2SubjectLocality;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2ArtifactResolve) LassoSamlp2ArtifactResolve;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2ArtifactResponse) LassoSamlp2ArtifactResponse;
@ -6,7 +29,7 @@ typedef struct {
} LassoSamlp2ArtifactResponse;
%extend LassoSamlp2ArtifactResponse {
%newobject *any_get;
%newobject any_get;
LassoNode *any;
/* inherited from Samlp2StatusResponse */

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2AssertionIDRequest) LassoSamlp2AssertionIDRequest;
#endif
typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(assertionIdRef) AssertionIDRef;
%rename(assertionIDRef) AssertionIDRef;
#endif
char *AssertionIDRef;
} LassoSamlp2AssertionIDRequest;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2AttributeQuery) LassoSamlp2AttributeQuery;
@ -9,7 +32,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(attribute) Attribute;
#endif
%newobject *Attribute_get;
%newobject Attribute_get;
LassoSaml2Attribute *Attribute;
/* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthnQuery) LassoSamlp2AuthnQuery;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(requestedAuthnContext) RequestedAuthnContext;
#endif
%newobject *RequestedAuthnContext_get;
%newobject RequestedAuthnContext_get;
LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
/* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthnRequest) LassoSamlp2AuthnRequest;
@ -19,11 +42,17 @@ typedef struct {
%rename(assertionConsumerServiceIndex) AssertionConsumerServiceIndex;
#endif
int AssertionConsumerServiceIndex;
#ifndef SWIG_PHP_RENAMES
%rename(assertionConsumerServiceURL) AssertionConsumerServiceURL;
#endif
char *AssertionConsumerServiceURL;
#ifndef SWIG_PHP_RENAMES
%rename(attributeConsumingServiceIndex) AttributeConsumingServiceIndex;
#endif
int AttributeConsumingServiceIndex;
#ifndef SWIG_PHP_RENAMES
%rename(providerName) ProviderName;
#endif
char *ProviderName;
} LassoSamlp2AuthnRequest;
%extend LassoSamlp2AuthnRequest {
@ -31,31 +60,31 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(subject) Subject;
#endif
%newobject *Subject_get;
%newobject Subject_get;
LassoSaml2Subject *Subject;
#ifndef SWIG_PHP_RENAMES
%rename(nameIDPolicy) NameIDPolicy;
#endif
%newobject *NameIDPolicy_get;
%newobject NameIDPolicy_get;
LassoSamlp2NameIDPolicy *NameIDPolicy;
#ifndef SWIG_PHP_RENAMES
%rename(conditions) Conditions;
#endif
%newobject *Conditions_get;
%newobject Conditions_get;
LassoSaml2Conditions *Conditions;
#ifndef SWIG_PHP_RENAMES
%rename(requestedAuthnContext) RequestedAuthnContext;
#endif
%newobject *RequestedAuthnContext_get;
%newobject RequestedAuthnContext_get;
LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
#ifndef SWIG_PHP_RENAMES
%rename(scoping) Scoping;
#endif
%newobject *Scoping_get;
%newobject Scoping_get;
LassoSamlp2Scoping *Scoping;
/* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthzDecisionQuery) LassoSamlp2AuthzDecisionQuery;
@ -13,13 +36,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(action) Action;
#endif
%newobject *Action_get;
%newobject Action_get;
LassoSaml2Action *Action;
#ifndef SWIG_PHP_RENAMES
%rename(evidence) Evidence;
#endif
%newobject *Evidence_get;
%newobject Evidence_get;
LassoSaml2Evidence *Evidence;
/* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2Extensions) LassoSamlp2Extensions;

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2IDPEntry) LassoSamlp2IDPEntry;
#endif
typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(providerId) ProviderID;
%rename(providerID) ProviderID;
#endif
char *ProviderID;
#ifndef SWIG_PHP_RENAMES

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2IDPList) LassoSamlp2IDPList;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(iDPEntry) IDPEntry;
#endif
%newobject *IDPEntry_get;
%newobject IDPEntry_get;
LassoSamlp2IDPEntry *IDPEntry;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2LogoutRequest) LassoSamlp2LogoutRequest;
@ -7,12 +30,10 @@ typedef struct {
%rename(sessionIndex) SessionIndex;
#endif
char *SessionIndex;
#ifndef SWIG_PHP_RENAMES
%rename(reason) Reason;
#endif
char *Reason;
#ifndef SWIG_PHP_RENAMES
%rename(notOnOrAfter) NotOnOrAfter;
#endif
@ -23,19 +44,19 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID;
#endif
%newobject *BaseID_get;
%newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
/* inherited from Samlp2RequestAbstract */

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2ManageNameIDRequest) LassoSamlp2ManageNameIDRequest;
#endif
typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(newId) NewID;
%rename(newID) NewID;
#endif
char *NewID;
} LassoSamlp2ManageNameIDRequest;
@ -13,25 +36,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES
%rename(newEncryptedID) NewEncryptedID;
#endif
%newobject *NewEncryptedID_get;
%newobject NewEncryptedID_get;
LassoSaml2EncryptedElement *NewEncryptedID;
#ifndef SWIG_PHP_RENAMES
%rename(terminate) Terminate;
#endif
%newobject *Terminate_get;
%newobject Terminate_get;
LassoSamlp2Terminate *Terminate;
/* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDMappingRequest) LassoSamlp2NameIDMappingRequest;
@ -9,25 +32,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID;
#endif
%newobject *BaseID_get;
%newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES
%rename(nameIDPolicy) NameIDPolicy;
#endif
%newobject *NameIDPolicy_get;
%newobject NameIDPolicy_get;
LassoSamlp2NameIDPolicy *NameIDPolicy;
/* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDMappingResponse) LassoSamlp2NameIDMappingResponse;
@ -9,13 +32,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID;
#endif
%newobject *NameID_get;
%newobject NameID_get;
LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID;
#endif
%newobject *EncryptedID_get;
%newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID;
/* inherited from Samlp2StatusResponse */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDPolicy) LassoSamlp2NameIDPolicy;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2RequestAbstract) LassoSamlp2RequestAbstract;
@ -29,13 +52,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer;
#endif
%newobject *Issuer_get;
%newobject Issuer_get;
LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES
%rename(extensions) Extensions;
#endif
%newobject *Extensions_get;
%newobject Extensions_get;
LassoSamlp2Extensions *Extensions;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2RequestedAuthnContext) LassoSamlp2RequestedAuthnContext;
@ -9,11 +32,19 @@ typedef struct {
char *Comparison;
} LassoSamlp2RequestedAuthnContext;
%extend LassoSamlp2RequestedAuthnContext {
%newobject authnContextClassRef_get;
LassoStringList *authnContextClassRef;
%newobject authnContextDeclRef_get;
LassoStringList *authnContextDeclRef;
#ifndef SWIG_PHP_RENAMES
%rename(authnContextClassRef) AuthnContextClassRef;
#endif
%newobject AuthnContextClassRef_get;
LassoStringList *AuthnContextClassRef;
#ifndef SWIG_PHP_RENAMES
%rename(authnContextDeclRef) AuthnContextDeclRef;
#endif
%newobject AuthnContextDeclRef_get;
LassoStringList *AuthnContextDeclRef;
/* Constructor, Destructor & Static Methods */
LassoSamlp2RequestedAuthnContext();
@ -26,17 +57,21 @@ typedef struct {
%{
/* authnContextClassRef */
#define LassoSamlp2RequestedAuthnContext_get_authnContextClassRef(self) get_string_list((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_get(self) get_string_list((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_set_authnContextClassRef(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_set(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
/* AuthnContextClassRef */
/* authnContextDeclRef */
#define LassoSamlp2RequestedAuthnContext_get_authnContextDeclRef(self) get_string_list((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_get(self) get_string_list((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_set_authnContextDeclRef(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value))
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_set(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value))
#define LassoSamlp2RequestedAuthnContext_get_AuthnContextClassRef(self) get_node((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_AuthnContextClassRef_get(self) get_node((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_set_AuthnContextClassRef(self,value) set_node((gpointer*)&(self)->AuthnContextClassRef, (value))
#define LassoSamlp2RequestedAuthnContext_AuthnContextClassRef_set(self,value) set_node((gpointer*)&(self)->AuthnContextClassRef, (value))
/* AuthnContextDeclRef */
#define LassoSamlp2RequestedAuthnContext_get_AuthnContextDeclRef(self) get_node((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_AuthnContextDeclRef_get(self) get_node((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_set_AuthnContextDeclRef(self,value) set_node((gpointer*)&(self)->AuthnContextDeclRef, (value))
#define LassoSamlp2RequestedAuthnContext_AuthnContextDeclRef_set(self,value) set_node((gpointer*)&(self)->AuthnContextDeclRef, (value))
/* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2Response) LassoSamlp2Response;
@ -6,6 +29,18 @@ typedef struct {
} LassoSamlp2Response;
%extend LassoSamlp2Response {
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* inherited from Samlp2StatusResponse */
#ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer;
@ -50,12 +85,6 @@ typedef struct {
#endif
char *Consent;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
/* Constructor, Destructor & Static Methods */
LassoSamlp2Response();
~LassoSamlp2Response();
@ -67,6 +96,22 @@ typedef struct {
%{
/* Assertion */
#define LassoSamlp2Response_get_Assertion(self) get_node((self)->Assertion)
#define LassoSamlp2Response_Assertion_get(self) get_node((self)->Assertion)
#define LassoSamlp2Response_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSamlp2Response_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSamlp2Response_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSamlp2Response_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSamlp2Response_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSamlp2Response_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* inherited from StatusResponse */
/* Issuer */
@ -142,14 +187,6 @@ typedef struct {
#define LassoSamlp2Response_Consent_set(self,value) set_string(&LASSO_SAMLP2_STATUS_RESPONSE(self)->Consent, (value))
/* Assertion */
#define LassoSamlp2Response_get_Assertion(self) get_node_list((self)->Assertion)
#define LassoSamlp2Response_Assertion_get(self) get_node_list((self)->Assertion)
#define LassoSamlp2Response_set_Assertion(self, value) set_node_list(&(self)->Assertion, (value))
#define LassoSamlp2Response_Assertion_set(self, value) set_node_list(&(self)->Assertion, (value))
/* Constructors, destructors & static methods implementations */
#define new_LassoSamlp2Response lasso_samlp2_response_new

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2Scoping) LassoSamlp2Scoping;
#endif
typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(requesterId) RequesterID;
%rename(requesterID) RequesterID;
#endif
char *RequesterID;
#ifndef SWIG_PHP_RENAMES
@ -17,7 +40,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(iDPList) IDPList;
#endif
%newobject *IDPList_get;
%newobject IDPList_get;
LassoSamlp2IDPList *IDPList;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2Status) LassoSamlp2Status;
@ -13,13 +36,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(statusCode) StatusCode;
#endif
%newobject *StatusCode_get;
%newobject StatusCode_get;
LassoSamlp2StatusCode *StatusCode;
#ifndef SWIG_PHP_RENAMES
%rename(statusDetail) StatusDetail;
#endif
%newobject *StatusDetail_get;
%newobject StatusDetail_get;
LassoSamlp2StatusDetail *StatusDetail;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusCode) LassoSamlp2StatusCode;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(statusCode) StatusCode;
#endif
%newobject *StatusCode_get;
%newobject StatusCode_get;
LassoSamlp2StatusCode *StatusCode;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusDetail) LassoSamlp2StatusDetail;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusResponse) LassoSamlp2StatusResponse;
@ -33,19 +56,19 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer;
#endif
%newobject *Issuer_get;
%newobject Issuer_get;
LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES
%rename(extensions) Extensions;
#endif
%newobject *Extensions_get;
%newobject Extensions_get;
LassoSamlp2Extensions *Extensions;
#ifndef SWIG_PHP_RENAMES
%rename(status) Status;
#endif
%newobject *Status_get;
%newobject Status_get;
LassoSamlp2Status *Status;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2SubjectQueryAbstract) LassoSamlp2SubjectQueryAbstract;
@ -9,7 +32,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES
%rename(subject) Subject;
#endif
%newobject *Subject_get;
%newobject Subject_get;
LassoSaml2Subject *Subject;
/* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES
%rename(Samlp2Terminate) LassoSamlp2Terminate;