blockchain-auth-agent

0.0.2 • Public • Published

Blockchain Auth Agent

Agent for logging into websites with Blockchain Auth.

Getting Started

This library is intended for use in the browser.

First, install the library via npm, then browserify your bundle and include that bundle in your web application.

npm install blockchain-auth-agent

Logging In

var privateKeychain = new PrivateKeychain()
var blockchainAuthAgent = new BlockchainAuthAgent(privateKeychain, document);
if (blockchainAuthAgent.loginOptionPresent()) {
    blockchainAuthAgent.initiateLogin();
}

Package Sidebar

Install

npm i blockchain-auth-agent

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • onename
  • shea256