ApiCoreFunctions
Function: verifyRequest()
function verifyRequest(
header,
method,
path,
body,
provider?,
now?
): Promise<string | null>;Defined in: packages/core/src/session/hosting.ts:101
Which subscription signed a request, or null when it isn't signed, is signed by someone else, or too far from now.
Parameters
| Parameter | Type |
|---|---|
header | string | undefined |
method | string |
path | string |
body | string |
provider? | CryptoProvider |
now? | number |
Returns
Promise<string | null>