Skip to content

PortalTokenError

const PortalTokenError: new (message) => TokenError = portalTokens.TokenError;

Defined in: src/portal.ts:119

Thrown by verifyPortalToken for any invalid token — malformed, bad signature, or expired. Maps to HTTP 401 at the API layer.

Parameter Type
message string

TokenError