Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / isValidToken

Function: isValidToken()

isValidToken(token): boolean

Defined in: hash.ts:44

Validates a provided token string based on its format and internal hash check.

Parameters

token

string

The token string to be validated.

Returns

boolean

  • True if the token is a valid format and the internal hash check passes, false otherwise.

Released under the GNU AGPL v3.