(claims: Record<string, unknown>, alg = "RS256")
| 109 | Buffer.from(JSON.stringify(value)).toString("base64url"); |
| 110 | |
| 111 | const unsignedJwt = (claims: Record<string, unknown>, alg = "RS256"): string => |
| 112 | `${jwtPart({ alg, typ: "JWT" })}.${jwtPart(claims)}.sig`; |
| 113 | |
| 114 | const tokenResponse = |
| 115 | (body: unknown): TokenHandler => |
no test coverage detected