BasicAuthApi constructor

BasicAuthApi(
  1. String identifier,
  2. String loginUrl, {
  3. Client? client,
  4. Converter? converter,
  5. AuthStorage? authStorage,
})

Implementation

BasicAuthApi(String identifier, this.loginUrl,
    {http.Client? client, Converter? converter, AuthStorage? authStorage})
    : super(identifier,
          client: client, converter: converter, authStorage: authStorage) {
  currentAuthenticator = BasicAuthAuthenticator(client, loginUrl);
}