AuthenticateCallback typedef

AuthenticateCallback = Future<bool> Function(Uri, String, String)

A callback to simulate authentication.

See HttpClient.authenticate.

This is not invoked automatically be the test client if set, but it can be accessed in the RequestCallback method.

Implementation

typedef AuthenticateCallback = Future<bool> Function(Uri, String, String);