Attach auth credentials to options before the request is sent.
options
@override Future<void> apply(RequestOptions options) async { options.headers['x-api-key'] = apiKey; }