Skip to content

TypeScript API / laikacms/auth / hashToken

Function: hashToken() ​

ts
function hashToken(token): string;

sha256 hex digest of the full bearer string. Deterministic, one-way.

Parameters ​

ParameterType
tokenstring

Returns ​

string

Released under the MIT License.