browser-id-verify
v0.0.2
Published
Verify BrowserID assertion
Downloads
3
Readme
verify-browser-id-assertion
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
});