authenticate method
Provide credentials for HTTP authentication.
To disable authentication, pass null
.
Implementation
Future<void> authenticate({String? username, String? password}) {
return _frameManager.networkManager.authenticate(
username == null ? null : Credentials(username, password));
}