Parse name identifiers in a SAML assertion.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
support/mk
test
.gitignore
.jshintrc
.npmignore
.travis.yml
LICENSE
Makefile
README.md
package.json

README.md

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/>