Socket
Book a DemoInstallSign in
Socket

superagent-wsse

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superagent-wsse

A superagent plugin that generates headers for WSSE authentication.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

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="..."

Keywords

superagent

FAQs

Package last updated on 16 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts