(claims: Record<string, unknown>, alg = "RS256")
| 92 | Buffer.from(JSON.stringify(value)).toString("base64url"); |
| 93 | |
| 94 | const unsignedJwt = (claims: Record<string, unknown>, alg = "RS256"): string => |
| 95 | `${jwtPart({ alg, typ: "JWT" })}.${jwtPart(claims)}.sig`; |
| 96 | |
| 97 | const tokenResponse = |
| 98 | (body: unknown): TokenHandler => |
no test coverage detected