All Classes Files Functions Variables Pages
Totp.idl
1 module kwfweb {
2 
3 enum TotpState {
4  TotpDone,
5  TotpConfigure,
6  TotpNotConfigured,
7  TotpVerify
8 };
9 
10 interface Totp {
11 
12  /**
13  * Performs 2 step verification
14  *
15  * @throws kerio::web::ApiException \n
16  * -32001 Session expired. - "The user is not logged in." \n
17  */
18  void totpVerify(in long code, in boolean remember);
19 
20  /**
21  * checks 2 step verification state
22  *
23  * @param value - true if 2 step verification is required
24  * @throws kerio::web::ApiException \n
25  * -32001 Session expired. - "The user is not logged in." \n
26  */
27  void totpState(out TotpState state);
28 };
29 
30 };
Definition: Totp.idl:10
Definition: Totp.idl:1