MCPcopy Create free account
hub / github.com/ampproject/amphtml / invalidToken

Method invalidToken

third_party/subscriptions-project/swg.js:4189–4191  ·  view source on GitHub ↗

* Throws error about invalid token.

()

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected