http_mutual_authentication

Last updated:

0 purchases

http_mutual_authentication Image
http_mutual_authentication Images
Add to Cart

Description:

http mutual authentication

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");
});
});
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.