saml2-nameid

0.0.1 • Public • Published

saml2-nameid

Build Coverage Dependencies

Parse name identifiers in a SAML assertion.

Install

$ npm install saml2-nameid

Usage

var nid = nameid.parse('<saml:NameID ...>user@mail.example.org</saml:NameID>');
// => { format: 'emailAddress', email: 'user@mail.example.org' }

Tests

$ npm install
$ npm test

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

/saml2-nameid/

    Package Sidebar

    Install

    npm i saml2-nameid

    Weekly Downloads

    15

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • jaredhanson