import * as colle from "https://deno.land/x/colle@2.1.1/src/deps.ts";
Classes
Genarete error message from class HttpError. | |
Router | |
Random |
Functions
Check if a plaintext password matches a hash Requires the --allow-net flag | |
Check if a plaintext password matches a hash This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended. | |
Generates a salt using a number of log rounds Requires the --allow-net flag | |
Generates a salt using a number of log rounds This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended. | |
Generate a hash for the plaintext password Requires the --allow-net flag | |
Generate a hash for the plaintext password This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended. | |
Takes | |
Takes a | |
This helper function simplifies setting a | |
It does not verify the digital signature. | |
Takes jwt, | |
Give error object | |
inital app. | |
serve-static middleware. |
Interfaces
JWS §4.1.1: The "alg" value is a case-sensitive ASCII string containing a StringOrURI value. This Header Parameter MUST be present and MUST be understood and processed by implementations. | |
JWT §1: JWTs encode claims to be transmitted as a JSON [RFC7159] object [...]. JWT §4.1: The following Claim Names are registered in the IANA "JSON Web Token Claims" registry established by Section 10.1. None of the claims defined below are intended to be mandatory to use or implement in all cases, but rather they provide a starting point for a set of useful, interoperable claims. Applications using JWTs should define which specific claims they use and when they are required or optional. | |
Type Aliases
With | |