utf8Length
function utf8Length(token): number;Defined in: src/token-identity.ts:401
The credential’s length in UTF-8 bytes – the unit MAX_TOKEN_BYTES
is measured in, and not what String#length reports.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
token |
string |
Returns
Section titled “Returns”number
