Skip to content

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

License

Notifications You must be signed in to change notification settings

jrow2286/cordova-plugin-auth-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages