-
Home
-
WP Hotel Booking
-
2.1.8
-
Code
-
Classes
- WPHB_REST_Authentication
| Total Complexity |
26 |
| Dependencies |
1 |
| Dependents |
2 |
| Total lines |
182 |
| Lines of code |
95 |
| Logical lines of code |
50 |
| Comment lines |
50 |
| Methods |
13 |
| Properties |
2 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| perform_oauth_authentication() |
S |
53 |
5 |
23 |
| authenticate() |
S |
63 |
5 |
12 |
| check_post_permissions() |
S |
54 |
3 |
20 |
| rest_cookie_check_errors() |
S |
65 |
3 |
10 |
| is_rest_api_request() |
S |
65 |
2 |
8 |
| __construct() |
S |
78 |
1 |
3 |
| perform_basic_authentication() |
S |
82 |
1 |
3 |
| get_user_by_consumer_key() |
S |
91 |
1 |
2 |
| check_user_permissions() |
S |
91 |
1 |
2 |
| get_wp_rest_nonce() |
S |
80 |
1 |
3 |
| get_wp_user_id() |
S |
80 |
1 |
3 |
| check_logged_in_permission() |
S |
79 |
1 |
3 |
| check_admin_permission() |
S |
80 |
1 |
3 |