GeoDir_REST_Authentication B

Total Complexity 84
Dependencies 2
Dependents 0
Total lines 586
Lines of code 292
Logical lines of code 179
Comment lines 206
Methods 20
Properties 3

Methods 20

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
join_with_equals_sign()
S
59 4 14
authenticate()
S
65 4 10
send_unauthorized_headers()
S
66 3 7
check_user_permissions()
S
65 3 10
is_request_to_rest_api()
S
63 3 9
check_authentication_error()
S
72 2 6
normalize_parameters()
S
70 1 6
get_error()
S
82 1 3
get_user_data_by_consumer_key()
S
64 1 10
set_error()
S
77 1 4
update_last_access()
S
65 1 10
__construct()
S
69 1 6