GeoDir_REST_Authentication B

Total Complexity 88
Dependencies 2
Dependents 0
Total lines 612
Lines of code 306
Logical lines of code 185
Comment lines 213
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
check_permissions()
A
51 12 24
perform_basic_authentication()
A
51 10 25
get_oauth_parameters()
A
46 7 40
check_oauth_timestamp_and_nonce()
S
49 7 29
check_oauth_signature()
S
48 7 27
parse_header()
S
57 6 15
perform_oauth_authentication()
S
53 5 23
get_authorization_header()
S
59 5 14
authenticate()
S
64 5 10
join_with_equals_sign()
S
59 4 14
is_localhost()
S
60 3 14
is_request_to_rest_api()
S
63 3 9
send_unauthorized_headers()
S
66 3 7
check_user_permissions()
S
65 3 10
check_authentication_error()
S
72 2 6
get_error()
S
82 1 3
normalize_parameters()
S
70 1 6
set_error()
S
77 1 4
get_user_data_by_consumer_key()
S
64 1 10
update_last_access()
S
65 1 10
__construct()
S
69 1 6