* Throws error about invalid token.
()
| 4187 | * Throws error about invalid token. |
| 4188 | */ |
| 4189 | function invalidToken() { |
| 4190 | throw new Error(`Invalid token: "${encodedToken}"`); |
| 4191 | } |
| 4192 | |
| 4193 | // Encoded token has three parts: header.payload.sig |
| 4194 | // Note! The padding is not allowed by JWT spec: |
nothing calls this directly
no outgoing calls
no test coverage detected