ApiCoreFunctions
Function: signRequest()
function signRequest(
key,
method,
path,
body?,
provider?,
at?
): Promise<string>;Defined in: packages/core/src/session/hosting.ts:85
The Authorization header for a request.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
key | SubscriptionKey | undefined | - |
method | string | undefined | - |
path | string | undefined | The path and query, as the host will see it |
body? | string | '' | - |
provider? | CryptoProvider | ... | - |
at? | number | ... | - |
Returns
Promise<string>