Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

browser-id-verify

0.0.2 • Public • Published

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

Keywords

none

install

npm i browser-id-verify

Downloadsweekly downloads

4

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability