Code Analysis: JWT Authentication for WP-API 1.3.2

Most Complex Classes

Class Rating Complexity
Jwt_Auth_Public
S
37
Jwt_Auth
S
8
Jwt_Auth_Loader
S
7
Jwt_Auth_i18n
S
2
Tmeister\Firebase\JWT\JWT
S
0
Tmeister\Firebase\JWT\Key
S
0

Most Complex Functions

Function Rating Complexity
Jwt_Auth_Public::validate_token()
A
11
Jwt_Auth_Public::determine_current_user()
A
12
Jwt_Auth_Public::generate_token()
A
5
Jwt_Auth_Public::add_cors_support()
S
3
Jwt_Auth_Loader::run()
S
3
Jwt_Auth_Public::rest_pre_dispatch()
S
2
Jwt_Auth_Public::get_algorithm()
S
2
Jwt_Auth_Public::add_api_routes()
S
1
Jwt_Auth_i18n::set_domain()
S
1
Jwt_Auth::define_public_hooks()
S
1
Jwt_Auth_Loader::add_filter()
S
1
Jwt_Auth::set_locale()
S
1