Index
Classes
The CompactEncrypt class is used to build and encrypt Compact JWE strings. |
|
The EncryptJWT class is used to build and encrypt Compact JWE formatted JSON Web Tokens. |
|
The FlattenedEncrypt class is used to build and encrypt Flattened JWE objects. |
|
c
Hono
|
|
A generic Error that all other JOSE specific Error subclasses extend. |
|
c
SignJWT
|
The SignJWT class is used to build and sign Compact JWS formatted JSON Web Tokens. |
The UnsecuredJWT class is a utility for dealing with |
Functions
The function |
|
The function exports a context object that includes loaded modules for JOSE and database, with an optional authorization parameter. |
|
Decrypts a Compact JWE. |
|
Decodes a signed JSON Web Token payload. This does not validate the JWT Claims Set types or
values. This does not validate the JWS Signature. For a proper Signed JWT Claims Set validation
and JWS signature verification use |
|
f
default
|
|
Decrypts a Flattened JWE. |
|
Verifies the JWT format (to be a JWE Compact format), decrypts the ciphertext, validates the JWT Claims Set. |
|
Verifies the JWT format (to be a JWS Compact format), verifies the JWS signature, validates the JWT Claims Set. |
Interfaces
Recognized Compact JWE Header Parameters, any other Header Members may also be present. |
|
Recognized Compact JWS Header Parameters, any other Header Members may also be present. |
|
Flattened JWE definition. |
|
I
IJWETask
|
|
I
IJWTTask
|
|
I
IModule
|
|
Recognized Signed JWT Header Parameters, any other Header Members may also be present. |
|
Recognized JWT Claims Set members, any other members may also be present. |
|
Type Aliases
T
TApiMeta
|
|
API / tRPC middleware |
|
T
ValueOf
|
Utility types |
Variables
The ServerModuleAuthInjectorMiddleware function is a TypeScript middleware that injects an authorization token into the request header if it exists in a cookie. |
|
The |
|
The function |
|
The |
|
v
getPath
|
|
v
humanize
|
The |
v
m
|
|
v
tRPC
|
|
The function |
|
v
time
|
The function calculates the time elapsed since a given start time and returns it in a human-readable format. |