saml2-nameid

Parse name identifiers in a SAML assertion.

npm install saml2-nameid
3 downloads in the last week
5 downloads in the last month

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/](http://jaredhanson.net/)

npm loves you