Kind: Function
Source: src/utils/jwt/jwt.ts
Part of: Utils
Signature
tsasync function sign(payload: JWTPayload, privateKey: SignatureKey, alg: SignatureAlgorithm): Promise<string>
Parameters
| Name | Type |
|---|---|
payload | JWTPayload |
privateKey | SignatureKey |
alg | SignatureAlgorithm |
Returns: Promise<string>
Used by
1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
Imported by (1)
Jwt—src/utils/jwt/index.ts:7
Was this page helpful?