0.1.4 • Published 9 years ago

superagent-wsse v0.1.4

Weekly downloads
22
License
-
Repository
github
Last release
9 years ago

Build Status npm version

superagent-wsse

A superagent plugin that generates headers for WSSE authentication.

##Install## Install with npm

npm install superagent-wsse

##Usage##

var request = require('superagent');
var wsse    = require('superagent-wsse');

var config = {
  username: '123',
  password: 'abc'
};

request
.get('http://example.com')
.use(wsse(config));
.end(function(res) {
  console.log(res.text);
});

##About WSSE## WSSE is a family of open security specifications for web services, specifically SOAP web services. However, the Username Token algorithm is not SOAP-specific; it can be easily adapted to work within the HTTP authentication framework.

An HTTP request to a backend that uses WSSE authentication.

GET /api/things HTTP/1.1

Authorization: WSSE profile="UsernameToken"
X-WSSE: UsernameToken Username="...", PasswordDigest="...", Nonce="...", Created="..."
0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago