browser-id-verify

Verify BrowserID assertion

npm install browser-id-verify
4 downloads in the last week
8 downloads in the last month

Browser ID Verify Build Status

Verify BrowserID assertion

Getting Started

Install the module with: npm install browser-id-verify

Usage

var verify = require('browser-id-verify');
var opts = {
  assertion: 'somebrowseridassertion',
  audience: 'http://example.org',
  url: 'https://verifier.login.persona.org/verify'
};
verify(opts, function (err, response) {
  if (err) {
    //handle error
  }

  // handle response
});
npm loves you