-
Home
-
JWT Authentication for WP REST API
-
1.3.2
-
Code
-
Classes
- Jwt_Auth_Public
Total Complexity |
37 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
398 |
Lines of code |
204 |
Logical lines of code |
76 |
Comment lines |
144 |
Methods |
8 |
Properties |
5 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_token() |
A |
38 |
11 |
80 |
determine_current_user() |
A |
50 |
12 |
26 |
generate_token() |
A |
41 |
5 |
61 |
add_cors_support() |
S |
67 |
3 |
7 |
rest_pre_dispatch() |
S |
72 |
2 |
6 |
get_algorithm() |
S |
68 |
2 |
7 |
add_api_routes() |
S |
62 |
1 |
12 |
__construct() |
S |
72 |
1 |
5 |