wsse-token

Web Services Security Extension (WSSE) Username Authentication Token

Usage no npm install needed!

<script type="module">
  import wsseToken from 'https://cdn.skypack.dev/wsse-token';
</script>

README

WSSE Token

npm npm license npm downloads build status

Web Services Security Extension (WSSE) Username Authentication Token

Install via npm

npm install --save wsse-token

Usage

var WSSEToken = require( 'wsse-token' )
var token = new WSSEToken({
  user: 'ihatesoap',
  password: 'letthatsinkin'
})
token.toString()
'UsernameToken Username="ihatesoap", PasswordDigest="ZTQwOGZiMjQzZjQ2YWYxZjczOTVmYmY5ZDMzZTBiYjhmNjg4ZDliYw==", Nonce="3fb1ee9a37018d1ad57f76f2b14d5e90", Created="2016-07-22T16:35:04.163Z"'