Constant-time comparison of the registered token against the one a socket presented. A missing token or a
length mismatch is a plain false (MJ-minted tokens have a fixed length, so this leaks nothing).
Parameters
expected: string
The token MJ registered for the call.
presented: string
The token the connecting socket supplied (may be absent).
Returns boolean
true only when both are present and byte-identical.
Constant-time comparison of the registered token against the one a socket presented. A missing token or a length mismatch is a plain
false(MJ-minted tokens have a fixed length, so this leaks nothing).