(token: string)
| 281 | const BEARER_JWT_CACHE_MAX_SIZE = 10_000; |
| 282 | |
| 283 | function hashBearerToken(token: string): string { |
| 284 | return createHash('sha256').update(token).digest('hex'); |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Validate a WorkOS-signed user JWT from the Authorization header. |
no test coverage detected