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