2 * Copyright (C) 2013 Martin Willi
4 * Copyright (C) secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * @defgroup eap_radius_xauth eap_radius_xauth
19 * @{ @ingroup eap_radius
22 #ifndef EAP_RADIUS_XAUTH_H_
23 #define EAP_RADIUS_XAUTH_H_
25 #include <sa/xauth/xauth_method.h>
27 typedef struct eap_radius_xauth_t eap_radius_xauth_t
;
30 * XAuth backend using plain RADIUS authentication (no EAP involved).
32 struct eap_radius_xauth_t
{
35 * Implements XAuth module interface
37 xauth_method_t xauth_method
;
41 * Creates the RADIUS XAuth method, acting as server.
43 * @param server ID of the XAuth server
44 * @param peer ID of the XAuth client
45 * @param profile configuration string
46 * @return xauth_generic_t object
48 eap_radius_xauth_t
*eap_radius_xauth_create_server(identification_t
*server
,
49 identification_t
*peer
,
52 #endif /** EAP_RADIUS_XAUTH_H_ @}*/