|
1 /* |
|
2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #if !defined(_ABS_EAP_AM_TYPE_MSCHAPV2_H_) |
|
22 #define _ABS_EAP_AM_TYPE_MSCHAPV2_H_ |
|
23 |
|
24 #include "eap_type_mschapv2_types.h" |
|
25 |
|
26 /// This class declares the functions adaptation module of GSMSIM MSCHAPv2 type |
|
27 /// requires from the MSCHAPv2 EAP type. |
|
28 class EAP_EXPORT abs_eap_am_type_mschapv2_c |
|
29 { |
|
30 private: |
|
31 //-------------------------------------------------- |
|
32 |
|
33 //-------------------------------------------------- |
|
34 protected: |
|
35 //-------------------------------------------------- |
|
36 |
|
37 //-------------------------------------------------- |
|
38 public: |
|
39 //-------------------------------------------------- |
|
40 |
|
41 // |
|
42 virtual ~abs_eap_am_type_mschapv2_c() |
|
43 { |
|
44 } |
|
45 |
|
46 // |
|
47 abs_eap_am_type_mschapv2_c() |
|
48 { |
|
49 } |
|
50 |
|
51 virtual bool get_is_client() = 0; |
|
52 |
|
53 virtual eap_status_e complete_eap_identity_query() = 0; |
|
54 |
|
55 virtual eap_status_e complete_failure_retry_response() = 0; |
|
56 |
|
57 virtual eap_status_e complete_change_password_query() = 0; |
|
58 |
|
59 virtual eap_status_e send_success_failure_response(bool is_success_response) = 0; |
|
60 |
|
61 virtual eap_status_e finish_unsuccessful_authentication( |
|
62 const bool authentication_cancelled) = 0; |
|
63 |
|
64 //-------------------------------------------------- |
|
65 }; // class abs_eap_am_type_mschapv2_c |
|
66 |
|
67 #endif //#if !defined(_ABS_EAP_AM_TYPE_MSCHAPV2_H_) |
|
68 |
|
69 //-------------------------------------------------- |
|
70 |
|
71 |
|
72 |
|
73 // End. |