http_mutual_authentication 0.1.1

Flutter Android iOS

Dart Http Mutual Authentication for Flutter, Multi-platform, HttpAuth.

Http Mutual Authentication #

Using #

Optional params: password and pathCertificate

  /// Init HttpAuth with HttpAuthBuilder
  /// sets [authPass] and [pathCertificate] for request
  HttpAuth httpAuth = new HttpAuthBuilder(
          authPass: "password", pathCertificate: "assets/certificate.p12")
      .build;

  /// Replace your url
  httpAuth.getRequest("http://www.google.com").then((result){
    /// Parse response with HttpAuth.parseBody -> String
    HttpAuth.parseBody(result).then((resultString){
      print("Results: $resultString");
    });
  });
0
likes
100
pub points
8%
popularity

Dart Http Mutual Authentication for Flutter, Multi-platform, HttpAuth.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rzknairb@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on http_mutual_authentication