1.0.1 • Published 10 years ago

stellar-wallet-login v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

stellar-wallet-login

Get an authorization token for the Stellar Wallet with a username and password. Works in node and in the browser (with browserify).

Example

var login = require('stellar-wallet-login');

login({
  user: 'awesome_username',
  pass: 'totally unguessable passphrase',
  // optional
  // url: 'http://some-custom-wallet-url.biz'
}, function(err, token, raw) {
  /*
   `token` is the authorization token
   `raw` is the raw data object returned from stellar.
  */
})