pub fn requires_authentication(endpoint_type: OKXEndpointType) -> bool
Checks if endpoint requires authentication.