~ubuntu-branches/ubuntu/edgy/lasso/edgy

« back to all changes in this revision

Viewing changes to lasso/xml/lib_authn_request.h

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: lib_authn_request.h,v 1.4 2004/07/22 06:59:02 eraviart Exp $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: Nicolas Clapies <nclapies@entrouvert.com>
 
9
 *          Valery Febvre <vfebvre@easter-eggs.com>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 */
 
25
 
 
26
#ifndef __LASSO_LIB_AUTHN_REQUEST_H__
 
27
#define __LASSO_LIB_AUTHN_REQUEST_H__
 
28
 
 
29
#ifdef __cplusplus
 
30
extern "C" {
 
31
#endif /* __cplusplus */ 
 
32
 
 
33
#include <lasso/xml/samlp_request_abstract.h>
 
34
#include <lasso/xml/lib_request_authn_context.h>
 
35
#include <lasso/xml/lib_scoping.h>
 
36
 
 
37
#define LASSO_TYPE_LIB_AUTHN_REQUEST (lasso_lib_authn_request_get_type())
 
38
#define LASSO_LIB_AUTHN_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_LIB_AUTHN_REQUEST, LassoLibAuthnRequest))
 
39
#define LASSO_LIB_AUTHN_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_LIB_AUTHN_REQUEST, LassoLibAuthnRequestClass))
 
40
#define LASSO_IS_LIB_AUTHN_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_LIB_AUTHN_REQUEST))
 
41
#define LASSO_IS_LIB_AUTHN_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_LIB_AUTHN_REQUEST))
 
42
#define LASSO_LIB_AUTHN_REQUEST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_LIB_AUTHN_REQUEST, LassoLibAuthnRequestClass)) 
 
43
 
 
44
typedef struct _LassoLibAuthnRequest LassoLibAuthnRequest;
 
45
typedef struct _LassoLibAuthnRequestClass LassoLibAuthnRequestClass;
 
46
 
 
47
struct _LassoLibAuthnRequest {
 
48
  LassoSamlpRequestAbstract parent;
 
49
  /*< private >*/
 
50
};
 
51
 
 
52
struct _LassoLibAuthnRequestClass {
 
53
  LassoSamlpRequestAbstractClass parent;
 
54
};
 
55
 
 
56
LASSO_EXPORT GType lasso_lib_authn_request_get_type(void);
 
57
LASSO_EXPORT LassoNode* lasso_lib_authn_request_new(void);
 
58
 
 
59
LASSO_EXPORT void lasso_lib_authn_request_set_affiliationID              (LassoLibAuthnRequest *,
 
60
                                                                          const xmlChar *);
 
61
  
 
62
LASSO_EXPORT void lasso_lib_authn_request_set_assertionConsumerServiceID (LassoLibAuthnRequest *,
 
63
                                                                          const xmlChar *);
 
64
 
 
65
LASSO_EXPORT void lasso_lib_authn_request_set_consent                    (LassoLibAuthnRequest *,
 
66
                                                                          const xmlChar *);
 
67
 
 
68
LASSO_EXPORT void lasso_lib_authn_request_set_forceAuthn                 (LassoLibAuthnRequest *,
 
69
                                                                          gboolean);
 
70
 
 
71
LASSO_EXPORT void lasso_lib_authn_request_set_isPassive                  (LassoLibAuthnRequest *,
 
72
                                                                          gboolean);
 
73
 
 
74
LASSO_EXPORT void lasso_lib_authn_request_set_nameIDPolicy               (LassoLibAuthnRequest *node,
 
75
                                                                          const xmlChar   *nameIDPolicy);
 
76
 
 
77
LASSO_EXPORT void lasso_lib_authn_request_set_protocolProfile            (LassoLibAuthnRequest *,
 
78
                                                                          const xmlChar *);
 
79
 
 
80
LASSO_EXPORT void lasso_lib_authn_request_set_providerID                 (LassoLibAuthnRequest *,
 
81
                                                                          const xmlChar *);
 
82
 
 
83
LASSO_EXPORT void lasso_lib_authn_request_set_relayState                 (LassoLibAuthnRequest *,
 
84
                                                                          const xmlChar *);
 
85
 
 
86
LASSO_EXPORT void lasso_lib_authn_request_set_requestAuthnContext        (LassoLibAuthnRequest *,
 
87
                                                                          LassoLibRequestAuthnContext *);
 
88
 
 
89
LASSO_EXPORT void lasso_lib_authn_request_set_scoping                    (LassoLibAuthnRequest *node,
 
90
                                                                          LassoLibScoping *scoping);
 
91
 
 
92
#ifdef __cplusplus
 
93
}
 
94
#endif /* __cplusplus */
 
95
 
 
96
#endif /* __LASSO_LIB_AUTHN_REQUEST_H__ */