{"id":16189122,"url":"https://github.com/jhermsmeier/node-wsse-token","last_synced_at":"2025-06-30T10:32:51.783Z","repository":{"id":57400114,"uuid":"63968277","full_name":"jhermsmeier/node-wsse-token","owner":"jhermsmeier","description":"Web Services Security Extension (WSSE) Username Authentication Token","archived":false,"fork":false,"pushed_at":"2019-07-11T16:41:50.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T07:05:20.821Z","etag":null,"topics":["authentication","soap","wsse"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhermsmeier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-22T16:36:37.000Z","updated_at":"2019-07-11T16:41:51.000Z","dependencies_parsed_at":"2022-09-16T16:12:33.327Z","dependency_job_id":null,"html_url":"https://github.com/jhermsmeier/node-wsse-token","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhermsmeier%2Fnode-wsse-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhermsmeier%2Fnode-wsse-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhermsmeier%2Fnode-wsse-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhermsmeier%2Fnode-wsse-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhermsmeier","download_url":"https://codeload.github.com/jhermsmeier/node-wsse-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234037442,"owners_count":18769755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","soap","wsse"],"created_at":"2024-10-10T07:34:10.245Z","updated_at":"2025-01-15T12:18:42.019Z","avatar_url":"https://github.com/jhermsmeier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSSE Token\n[![npm](https://img.shields.io/npm/v/wsse-token.svg?style=flat-square)](https://npmjs.com/wsse-token)\n[![npm license](https://img.shields.io/npm/l/wsse-token.svg?style=flat-square)](https://npmjs.com/wsse-token)\n[![npm downloads](https://img.shields.io/npm/dm/wsse-token.svg?style=flat-square)](https://npmjs.com/wsse-token)\n[![build status](https://img.shields.io/travis/jhermsmeier/node-wsse-token.svg?style=flat-square)](https://travis-ci.org/jhermsmeier/node-wsse-token)\n\nWeb Services Security Extension (WSSE) Username Authentication Token\n\n## Install via [npm](https://npmjs.com)\n\n```sh\nnpm install --save wsse-token\n```\n\n## Usage\n\n```js\nvar WSSEToken = require( 'wsse-token' )\n```\n\n```js\nvar token = new WSSEToken({\n  // Credentials\n  user: 'example',\n  password: 'secret',\n  // Byte-length and encoding of the nonce (optional)\n  nonceBytes: 16,\n  nonceEncoding: 'hex',\n  // Digest options (optional)\n  digestAlgorithm: 'sha1',\n  digestEncoding: 'hex',\n  digestBase64: true,\n})\n```\n\n```js\ntoken.toString()\n```\n\n```js\n'UsernameToken Username=\"example\", PasswordDigest=\"dc8b87d1786f37261ae2a5f7f0940fd650635d4a\", Nonce=\"69dc375f3c5d6b24a45801962ad74812\", Created=\"2019-07-11T16:40:43.125Z\"'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhermsmeier%2Fnode-wsse-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhermsmeier%2Fnode-wsse-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhermsmeier%2Fnode-wsse-token/lists"}