-
Home
-
miniOrange 2-factor Authentication (2FA with SMS, Email, Google Authenticator)
-
5.5.7
-
Code
-
Classes
- Google_auth_onpremise
| Total Complexity |
45 |
| Dependencies |
3 |
| Dependents |
8 |
| Total lines |
248 |
| Lines of code |
182 |
| Logical lines of code |
116 |
| Comment lines |
15 |
| Methods |
13 |
| Properties |
1 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| _base32Decode() |
A |
46 |
12 |
35 |
| createSecret() |
A |
52 |
8 |
24 |
| mo_GAuth_get_details() |
S |
51 |
5 |
28 |
| verifyCode() |
S |
54 |
5 |
19 |
| timingSafeEquals() |
S |
58 |
4 |
15 |
| getCode() |
S |
56 |
2 |
15 |
| random_str() |
S |
66 |
2 |
8 |
| mo2f_GAuth_get_option() |
S |
67 |
2 |
8 |
| __construct() |
S |
100 |
1 |
2 |
| mo_GAuth_set_secret() |
S |
68 |
1 |
7 |
| mo_GAuth_get_secret() |
S |
68 |
1 |
7 |
| _getBase32LookupTable() |
S |
62 |
1 |
9 |
| geturl() |
S |
72 |
1 |
5 |