Function: workerTokenMatches()
workerTokenMatches(
token,hash):boolean
Defined in: packages/agentos/src/io/channels/meetings/signing.ts:119
Whether token is the one whose hash is hash, compared in constant time.
Parameters
token
string
The bearer a report presented.
hash
string
The hashWorkerToken hash the run's dispatch record keeps.
Returns
boolean
false as well when hash is not 64 hex digits.