The number of rounds for bcrypt hashing.
The secret for signing and validating JWT.
The name of the cluster, that contains this and the other microservices.
The name of the pod group / kubernetes deployment.
The URL to the NATS server.
The name of the POD, which is used as client ID for NATS, e.g.
A default NATS client instance.
Checks if a password matching a hash.
The unhashed password.
The password hash.
Promise, that indicates if password does match or not.
Checks (synchronous) if a password matching a hash.
The unhashed password.
The password hash.
Promise, that indicates if password does match or not.
Hashes a password string.
The unhashed password.
The promise with the password hash.
Hashes a password string synchronous.
The unhashed password.
The password hash.
Creates a JWT from an object.
The token as object.
The JWT.
Verifies a JWT and returns it decoded version, if succeeded.
The token as string.
The decoded token, or (false), if verification failed.
Creates a new Express middleware, that checks for a valid JWT.
The new middleware.
Generated using TypeDoc
Handles a message.
The context.