Blame lasso/xml/saml-2.0/samlp2_authn_request.h

Packit Service 88ab54
/* $Id$
Packit Service 88ab54
 *
Packit Service 88ab54
 * Lasso - A free implementation of the Liberty Alliance specifications.
Packit Service 88ab54
 *
Packit Service 88ab54
 * Copyright (C) 2004-2007 Entr'ouvert
Packit Service 88ab54
 * http://lasso.entrouvert.org
Packit Service 88ab54
 *
Packit Service 88ab54
 * Authors: See AUTHORS file in top-level directory.
Packit Service 88ab54
 *
Packit Service 88ab54
 * This program is free software; you can redistribute it and/or modify
Packit Service 88ab54
 * it under the terms of the GNU General Public License as published by
Packit Service 88ab54
 * the Free Software Foundation; either version 2 of the License, or
Packit Service 88ab54
 * (at your option) any later version.
Packit Service 88ab54
 *
Packit Service 88ab54
 * This program is distributed in the hope that it will be useful,
Packit Service 88ab54
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 88ab54
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 88ab54
 * GNU General Public License for more details.
Packit Service 88ab54
 *
Packit Service 88ab54
 * You should have received a copy of the GNU General Public License
Packit Service 88ab54
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit Service 88ab54
 */
Packit Service 88ab54
Packit Service 88ab54
#ifndef __LASSO_SAMLP2_AUTHN_REQUEST_H__
Packit Service 88ab54
#define __LASSO_SAMLP2_AUTHN_REQUEST_H__
Packit Service 88ab54
Packit Service 88ab54
#ifdef __cplusplus
Packit Service 88ab54
extern "C" {
Packit Service 88ab54
#endif /* __cplusplus */
Packit Service 88ab54
Packit Service 88ab54
#include "samlp2_request_abstract.h"
Packit Service 88ab54
#include "saml2_conditions.h"
Packit Service 88ab54
#include "samlp2_requested_authn_context.h"
Packit Service 88ab54
#include "saml2_subject.h"
Packit Service 88ab54
#include "samlp2_scoping.h"
Packit Service 88ab54
#include "samlp2_name_id_policy.h"
Packit Service 88ab54
Packit Service 88ab54
#define LASSO_TYPE_SAMLP2_AUTHN_REQUEST (lasso_samlp2_authn_request_get_type())
Packit Service 88ab54
#define LASSO_SAMLP2_AUTHN_REQUEST(obj) \
Packit Service 88ab54
	(G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_SAMLP2_AUTHN_REQUEST, \
Packit Service 88ab54
				LassoSamlp2AuthnRequest))
Packit Service 88ab54
#define LASSO_SAMLP2_AUTHN_REQUEST_CLASS(klass) \
Packit Service 88ab54
	(G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_SAMLP2_AUTHN_REQUEST, \
Packit Service 88ab54
				LassoSamlp2AuthnRequestClass))
Packit Service 88ab54
#define LASSO_IS_SAMLP2_AUTHN_REQUEST(obj) \
Packit Service 88ab54
	(G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SAMLP2_AUTHN_REQUEST))
Packit Service 88ab54
#define LASSO_IS_SAMLP2_AUTHN_REQUEST_CLASS(klass) \
Packit Service 88ab54
	(G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SAMLP2_AUTHN_REQUEST))
Packit Service 88ab54
#define LASSO_SAMLP2_AUTHN_REQUEST_GET_CLASS(o) \
Packit Service 88ab54
	(G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SAMLP2_AUTHN_REQUEST, \
Packit Service 88ab54
				LassoSamlp2AuthnRequestClass))
Packit Service 88ab54
Packit Service 88ab54
typedef struct _LassoSamlp2AuthnRequest LassoSamlp2AuthnRequest;
Packit Service 88ab54
typedef struct _LassoSamlp2AuthnRequestClass LassoSamlp2AuthnRequestClass;
Packit Service 88ab54
Packit Service 88ab54
Packit Service 88ab54
struct _LassoSamlp2AuthnRequest {
Packit Service 88ab54
	LassoSamlp2RequestAbstract parent;
Packit Service 88ab54
Packit Service 88ab54
	/*< public >*/
Packit Service 88ab54
	/* elements */
Packit Service 88ab54
	LassoSaml2Subject *Subject;
Packit Service 88ab54
	LassoSamlp2NameIDPolicy *NameIDPolicy;
Packit Service 88ab54
	LassoSaml2Conditions *Conditions;
Packit Service 88ab54
	LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
Packit Service 88ab54
	LassoSamlp2Scoping *Scoping;
Packit Service 88ab54
	/* attributes */
Packit Service 88ab54
	gboolean ForceAuthn;
Packit Service 88ab54
	gboolean IsPassive;
Packit Service 88ab54
	char *ProtocolBinding;
Packit Service 88ab54
	int AssertionConsumerServiceIndex;
Packit Service 88ab54
	char *AssertionConsumerServiceURL;
Packit Service 88ab54
	int AttributeConsumingServiceIndex;
Packit Service 88ab54
	char *ProviderName;
Packit Service 88ab54
Packit Service 88ab54
	/* This field is deprecated do not use it,
Packit Service 88ab54
	 * kept for ABI compatibility */
Packit Service 88ab54
	/*< private >*/
Packit Service 88ab54
	G_GNUC_DEPRECATED char *relayState;
Packit Service 88ab54
};
Packit Service 88ab54
Packit Service 88ab54
Packit Service 88ab54
struct _LassoSamlp2AuthnRequestClass {
Packit Service 88ab54
	LassoSamlp2RequestAbstractClass parent;
Packit Service 88ab54
};
Packit Service 88ab54
Packit Service 88ab54
LASSO_EXPORT GType lasso_samlp2_authn_request_get_type(void);
Packit Service 88ab54
LASSO_EXPORT LassoNode* lasso_samlp2_authn_request_new(void);
Packit Service 88ab54
Packit Service 88ab54
Packit Service 88ab54
Packit Service 88ab54
#ifdef __cplusplus
Packit Service 88ab54
}
Packit Service 88ab54
#endif /* __cplusplus */
Packit Service 88ab54
Packit Service 88ab54
#endif /* __LASSO_SAMLP2_AUTHN_REQUEST_H__ */