bedrock-authn-token
Advanced tools
Changelog
7.1.1 - 2022-03-26
Changelog
7.1.0 - 2022-03-24
bedrock@4.5
bedrock-mongodb@8.5
.esm.js
to
transpile to CommonJS.Changelog
7.0.0 - 2022-03-08
bedrock-account@6
which removes bedrock-permission
including concepts such as actor
.bedrock-account@6.1
bedrock-mongodb@8.4
bedrock-permission
.account
param to accountId
in all functions where
its value is an ID for the account.maxNonceCount
out of defaults
namespace since it is
not a "default" that can be overridden via an API call.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.Changelog
6.0.0 - 2022-03-02
catch
around api.getAll
for tokens, allow
NotFoundError
to be thrown if an account is not found.Changelog
5.0.0 - 2022-02-28
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.Changelog
4.1.0 - 2021-11-09
explain
param to get more details about database performance.Changelog
4.0.1 - 2021-10-08
Changelog
4.0.0 - 2021-05-04
getAll
function to now return an object of
allTokens
, tokens
, and expiredTokens
.set
API to use the updated object from the getAll
API request.Changelog
3.0.0 - 2021-01-13
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.nonce
type tokens have a maxCount
of 5, with 10 minute
expiration for each.Changelog
2.2.1 - 2020-07-07