메소드 | 설명 | |
---|---|---|
checkCode ( ) | used with ajax | |
check_2FAlogin ( $p ) | capture webpage if someone try to use ?_task=mail|addressbook|settings|. | |
init ( ) | ||
login_after ( $args ) | Use the form login, but removing inputs with jquery and action (see twofactor_gauthenticator_form.js) | |
popup_msg_enrollment ( ) | ripped from new_user_dialog plugin | |
twofactor_gauthenticator_form ( ) | form config | |
twofactor_gauthenticator_init ( ) | show config | |
twofactor_gauthenticator_save ( ) | save config |
메소드 | 설명 | |
---|---|---|
__checkCode ( $code, $secret = null ) | returns boolean | |
__consumeRecoveryCode ( $code ) | ||
__cookie ( $set = TRUE ) | remember option by https://github.com/corrideat/ | |
__createSecret ( ) | returns string | |
__exitSession ( ) | ||
__get2FAconfig ( ) | ||
__getSecret ( ) | returns string | |
__goingRoundcubeTask ( $task = 'mail', $action = null ) | redirect to some RC task and remove 'login' user pref | |
__isRecoveryCode ( $code ) | ||
__logError ( ) | log error into $_logs_file directory | |
__set2FAconfig ( $data ) | we can set array to NULL to remove |
public login_after ( $args ) |