-
Home
-
Two Factor Authentication
-
1.12.1
-
Code
-
Classes
- Simba_TFA_Provider_TOTP
Total Complexity |
91 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
478 |
Lines of code |
265 |
Logical lines of code |
204 |
Comment lines |
86 |
Methods |
22 |
Properties |
9 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_code_for_user() |
A |
42 |
15 |
46 |
potentially_port_private_keys() |
A |
48 |
10 |
32 |
decrypt() |
A |
57 |
9 |
14 |
getPanicCodesString() |
S |
55 |
7 |
17 |
generateOTP() |
S |
58 |
5 |
15 |
print_default_hmac_radios() |
S |
63 |
5 |
8 |
generate_otps_for_login_check() |
S |
58 |
4 |
14 |
setUserHMACTypes() |
S |
63 |
4 |
9 |
get_user_otp_algorithm() |
S |
65 |
4 |
8 |
encrypt() |
S |
64 |
4 |
8 |
get_iv_size() |
S |
65 |
4 |
8 |
randString() |
S |
59 |
3 |
14 |
__construct() |
S |
62 |
3 |
10 |
changeUserAlgorithmTo() |
S |
62 |
2 |
11 |
get_current_code() |
S |
71 |
2 |
5 |
getUserCounter() |
S |
73 |
2 |
4 |
encryptString() |
S |
63 |
2 |
10 |
addPrivateKey() |
S |
64 |
2 |
9 |
getPrivateKeyPlain() |
S |
73 |
1 |
5 |
decryptString() |
S |
63 |
1 |
9 |
hashAndBin() |
S |
71 |
1 |
5 |
hash() |
S |
75 |
1 |
4 |