|
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 #ifndef ABS_EAP_AM_TYPE_SECURID_H |
|
22 #define ABS_EAP_AM_TYPE_SECURID_H |
|
23 |
|
24 #include "eap_status.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_securid_c |
|
29 { |
|
30 private: |
|
31 |
|
32 protected: |
|
33 |
|
34 public: |
|
35 |
|
36 virtual ~abs_eap_am_type_securid_c() |
|
37 { |
|
38 } |
|
39 |
|
40 abs_eap_am_type_securid_c() |
|
41 { |
|
42 } |
|
43 |
|
44 virtual bool get_is_client() = 0; |
|
45 |
|
46 virtual eap_status_e complete_eap_identity_query( |
|
47 const eap_variable_data_c * const identity_utf8) = 0; |
|
48 |
|
49 virtual eap_status_e client_securid_complete_passcode_query( |
|
50 const eap_variable_data_c * const passcode_utf8) = 0; |
|
51 |
|
52 virtual eap_status_e client_securid_complete_pincode_query( |
|
53 const eap_variable_data_c * const pincode, |
|
54 const eap_variable_data_c * const passcode) = 0; |
|
55 |
|
56 virtual eap_status_e client_gtc_complete_user_input_query( |
|
57 const eap_variable_data_c * const response_utf8) = 0; |
|
58 |
|
59 virtual eap_status_e finish_unsuccessful_authentication( |
|
60 const bool authentication_cancelled) = 0; |
|
61 |
|
62 }; // class abs_eap_am_type_securid_c |
|
63 |
|
64 #endif // ABS_EAP_AM_TYPE_SECURID_H |