Skip to content

trimForShapeTest

function trimForShapeTest(token): string;

Defined in: src/token-identity.ts:361

Strip trimmable code units from both ends, for the shape test only.

Never applied to what reaches a resolver: rewriting a credential before resolving it would make the worker answer about a string the caller never sent.

Parameter Type
token string

string