Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bedrock-authn-token

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-authn-token - npm Package Versions

2

7.1.1

Diff

Changelog

Source

7.1.1 - 2022-03-26

Fixed

  • Ensure module uses a default export for backwards compatibility.
dlongley
published 7.1.0 •

Changelog

Source

7.1.0 - 2022-03-24

Changed

  • Update peer deps:
    • bedrock@4.5
    • bedrock-mongodb@8.5.
  • Update internals to use esm style and use esm.js to transpile to CommonJS.
dlongley
published 7.0.0 •

Changelog

Source

7.0.0 - 2022-03-08

Changed

  • BREAKING: Use bedrock-account@6 which removes bedrock-permission including concepts such as actor.
  • BREAKING: Updated peer dependencies, use:
    • bedrock-account@6.1
    • bedrock-mongodb@8.4
    • Remove bedrock-permission.
  • BREAKING: Rename account param to accountId in all functions where its value is an ID for the account.
  • BREAKING: Move maxNonceCount out of defaults namespace since it is not a "default" that can be overridden via an API call.

Removed

  • BREAKING: Remove all usage of bedrock-permission including roles (e.g., sysResourceRole), actor, etc. All authz should be managed via HTTP (or other) APIs and technologies such as zcaps, meters, and oauth2.
mattcollier
published 6.0.0 •

Changelog

Source

6.0.0 - 2022-03-02

Changed

  • BREAKING: Remove catch around api.getAll for tokens, allow NotFoundError to be thrown if an account is not found.
codenamedmitri
published 5.0.0 •

Changelog

Source

5.0.0 - 2022-02-28

Changed

  • BREAKING: Update length of nonce in generateNonce to 6 instead of 9. Additional care must be taken in deployments to prevent too many attempts to input (or "guess") a nonce at any verification endpoints in a short period of time.
mattcollier
published 4.1.0 •

Changelog

Source

4.1.0 - 2021-11-09

Added

  • Added optional explain param to get more details about database performance.
  • Added database tests in order to check database performance.
codenamedmitri
published 4.0.1 •

Changelog

Source

4.0.1 - 2021-10-08

Fixed

  • Fix issue with salt mismatch when multiple tokens are generated.
mattcollier
published 4.0.0 •

Changelog

Source

4.0.0 - 2021-05-04

Changed

  • BREAKING: Updated getAll function to now return an object of allTokens, tokens, and expiredTokens.
  • BREAKING: Updated set API to use the updated object from the getAll API request.
  • Updated tests to reflect the latest code changes.
mattcollier
published 3.0.0 •

Changelog

Source

3.0.0 - 2021-01-13

Added

  • BREAKING: Modifiy set api and generateNonce function to take typeOptions param.
  • get and getAll api can take an optional filterExpiredTokens param which can drop expired tokens if set to true.
  • remove api can take an optional id param of a token to be removed.
  • Added tests.

Changed

  • BREAKING: nonce type tokens have a maxCount of 5, with 10 minute expiration for each.
  • Updated test deps to use bedrock-account@5.
  • Updated peerDeps to use bedrock-mongodb@8.1.1.
mattcollier
published 2.2.1 •

Changelog

Source

2.2.1 - 2020-07-07

Fixed

  • Fix usage of the MongoDB projection API.
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc