-
Home
-
Two-Factor
-
0.13.0 (latest)
-
Code
-
Classes
- Two_Factor_Totp
Total Complexity |
54 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
791 |
Lines of code |
450 |
Logical lines of code |
162 |
Comment lines |
247 |
Methods |
26 |
Properties |
1 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
user_two_factor_options() |
A |
34 |
3 |
157 |
rest_setup_totp() |
S |
51 |
6 |
25 |
base32_decode() |
S |
54 |
4 |
20 |
validate_code_for_user() |
S |
59 |
4 |
15 |
base32_encode() |
S |
58 |
4 |
15 |
pack64() |
S |
58 |
4 |
14 |
register_rest_routes() |
S |
46 |
1 |
49 |
get_authcode_valid_ticktime() |
S |
58 |
3 |
14 |
calc_totp() |
S |
56 |
2 |
16 |
abssort() |
S |
66 |
3 |
8 |
rest_delete_totp() |
S |
58 |
2 |
15 |
authentication_page() |
S |
57 |
1 |
22 |
generate_qr_code_url() |
S |
58 |
1 |
15 |
is_valid_key() |
S |
68 |
2 |
7 |
enqueue_assets() |
S |
64 |
2 |
10 |
validate_authentication() |
S |
68 |
2 |
7 |
is_available_for_user() |
S |
75 |
1 |
4 |
__construct() |
S |
68 |
1 |
7 |
generate_key() |
S |
71 |
1 |
5 |
is_valid_authcode() |
S |
78 |
1 |
3 |
delete_user_totp_key() |
S |
76 |
1 |
4 |
set_user_totp_key() |
S |
79 |
1 |
3 |
get_user_totp_key() |
S |
78 |
1 |
3 |
get_alternative_provider_label() |
S |
79 |
1 |
3 |
get_label() |
S |
79 |
1 |
3 |
uninstall_user_meta_keys() |
S |
72 |
1 |
6 |