Koha::REST::V1::Auth
This subroutine is called before every request to API.
Validates authentication and allows access if authorization is not required or if authorization is required and user has required permissions to access.
Validates the query parameters against the spec.
Internal method that performs Basic authentication.
$c->_set_userenv( $patron );
Internal method that sets C4::Context->userenv