verifyStorybookToken
verifyStorybookToken(
token,secret,now?):StorybookTokenResult
Defined in: packages/core/src/utils/storybook-token.ts:90
Check a token against the current secret and, during a rotation, the previous one. The signature
is checked (in constant time) before the payload is read, and every failure looks the same to
the caller except for reason, which is for the server’s own log.
Parameters
Section titled “Parameters”unknown
secret
Section titled “secret”number = ...