diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-06-25 13:12:50 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-06-25 13:12:50 +0000 |
commit | eef1d1971c940056d9321a545d11aa2004508d3c (patch) | |
tree | b0e4e2acbd571205cf0282bf20f1287cfd9a9dff /lasso/id-ff/session_environ.h | |
parent | 7958874b946b035e9faa2cf7c336fb99fc68bb29 (diff) | |
download | lasso-eef1d1971c940056d9321a545d11aa2004508d3c.tar.gz lasso-eef1d1971c940056d9321a545d11aa2004508d3c.tar.xz lasso-eef1d1971c940056d9321a545d11aa2004508d3c.zip |
*** empty log message ***
Diffstat (limited to 'lasso/id-ff/session_environ.h')
-rw-r--r-- | lasso/id-ff/session_environ.h | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/lasso/id-ff/session_environ.h b/lasso/id-ff/session_environ.h deleted file mode 100644 index b75c834b..00000000 --- a/lasso/id-ff/session_environ.h +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ - * - * Lasso - A free implementation of the Liberty Alliance specifications. - * - * Copyright (C) 2004 Entr'ouvert - * http://lasso.entrouvert.org - * - * Authors: Valery Febvre <vfebvre@easter-eggs.com> - * Nicolas Clapies <nclapies@entrouvert.com> - * - * 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 __LASSO_SESSION_ENVIRON_H__ -#define __LASSO_SESSION_ENVIRON_H__ - -#ifdef __cplusplus -extern "C" { - -#endif /* __cplusplus */ - -#include <lasso/xml/xml.h> -#include <lasso/environs/provider.h> -#include <lasso/environs/server_environ.h> -#include <lasso/environs/user_environ.h> - -#define LASSO_TYPE_SESSION_ENVIRON (lasso_session_environ_get_type()) -#define LASSO_SESSION_ENVIRON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_SESSION_ENVIRON, LassoSessionEnviron)) -#define LASSO_SESSION_ENVIRON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_SESSION_ENVIRON, LassoSessionEnvironClass)) -#define LASSO_IS_SESSION_ENVIRON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SESSION_ENVIRON)) -#define LASSP_IS_SESSION_ENVIRON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SESSION_ENVIRON)) -#define LASSO_SESSION_ENVIRON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SESSION_ENVIRON, LassoSessionEnvironClass)) - -typedef struct _LassoSessionEnviron LassoSessionEnviron; -typedef struct _LassoSessionEnvironClass LassoSessionEnvironClass; - -typedef enum { - lasso_protocol_method_get = 1, - lasso_protocol_method_redirect, - lasso_protocol_method_post, - lasso_protocol_method_soap, - lasso_protocol_method_artifact, -} lasso_protocol_methods; - -struct _LassoSessionEnviron { - GObject parent; - - /*< public >*/ - LassoServerEnviron *server; - LassoUserEnviron *user; - - gchar *message; - - LassoNode *request; - LassoNode *response; - - gchar *local_providerID; - gchar *peer_providerID; - - gint request_protocol_method; - - /*< private >*/ -}; - -struct _LassoSessionEnvironClass { - GObjectClass parent; -}; - -LASSO_EXPORT GType lasso_session_environ_get_type (void); - -LASSO_EXPORT LassoSessionEnviron* lasso_session_environ_new (LassoServerEnviron *server, - LassoUserEnviron *user, - gchar *local_providerID, - gchar *peer_providerID); - -LASSO_EXPORT gchar* lasso_session_environ_build_authn_request (LassoSessionEnviron *session, - const gchar *responseProtocolProfile, - gboolean isPassive, - gboolean forceAuthn, - const gchar *nameIDPolicy); - -LASSO_EXPORT xmlChar* lasso_session_environ_process_artifact (LassoSessionEnviron *session, - gchar *artifact); - -LASSO_EXPORT gboolean lasso_session_environ_process_authn_response (LassoSessionEnviron *session, - xmlChar *response); - -LASSO_EXPORT gboolean lasso_session_environ_process_authn_request (LassoSessionEnviron *session, - gchar *request, - gint request_method, - gboolean is_authenticated); - -LASSO_EXPORT gchar* lasso_session_environ_process_authentication (LassoSessionEnviron *session, - gint authentication_result, - const char *authentication_method); - -LASSO_EXPORT gint lasso_session_environ_set_local_providerID (LassoSessionEnviron *session, - gchar *providerID); - -LASSO_EXPORT gint lasso_session_environ_set_peer_providerID (LassoSessionEnviron *session, - gchar *providerID); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* __LASSO_SESSION_ENVIRON_H__ */ |