(claims: Record<string, unknown>, alg = "RS256")
| 103 | Buffer.from(JSON.stringify(value)).toString("base64url"); |
| 104 | |
| 105 | const unsignedJwt = (claims: Record<string, unknown>, alg = "RS256"): string => |
| 106 | `${jwtPart({ alg, typ: "JWT" })}.${jwtPart(claims)}.sig`; |
| 107 | |
| 108 | const tokenResponse = |
| 109 | (body: unknown): TokenHandler => |
no test coverage detected