1.0.1 • Published 7 years ago

cordova-plugin-auth-handler v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Apache Cordova Auth Handler

Allows user to set credentials for HttpAuthRequest handler via javascript using Apache Cordova

Supported Platforms

  • Android

Supported Authentication Methods

  • Basic
  • Digest
  • NTLM

Android

This plugin lets you store a username and password that are passed to the onReceivedHttpAuthRequest handler.

Call this before any XHR requests so that the username and password are used:

function success(str){
	console.log(str);
}
function error(str){
	console.log(str);
}
cordova.plugins.AuthHandler(username, password, success, error);