Kind: Function
Source: src/utils/buffer.ts
Part of: Utils
Signature
tsasync function timingSafeEqual(a, b, hashFunction: Function): Promise<boolean>
Parameters
| Name | Type |
|---|---|
a | any |
b | any |
hashFunction | Function |
Returns: Promise<boolean>
Used by
2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
Imported by (2)
handler—src/middleware/basic-auth/index.ts:118bearerAuth—src/middleware/bearer-auth/index.ts:104
Was this page helpful?