-
Home
-
JWT Authentication for WP REST API
-
1.3.6 (latest)
-
Code
-
Classes
- Jwt_Auth_Public
Total Complexity |
38 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
424 |
Lines of code |
213 |
Logical lines of code |
80 |
Comment lines |
147 |
Methods |
8 |
Properties |
5 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_token() |
A |
38 |
11 |
81 |
determine_current_user() |
A |
48 |
13 |
32 |
generate_token() |
A |
41 |
5 |
62 |
add_cors_support() |
S |
66 |
3 |
8 |
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 |