connectwise-rest
Preparing search index...
utils
Callback
Variable Callback
Callback
:
{
middleware
:
(
cb
:
(
err
:
Error
|
null
,
req
:
ExpressRequest
,
res
:
ServerResponse
,
verified
:
boolean
,
payload
:
Entity
|
undefined
,
)
=>
void
,
)
=>
(
req
:
ExpressRequest
,
res
:
ServerResponse
)
=>
void
;
verifyCallback
:
(
callbackBody
:
CallbackPayload
,
contentSignature
:
string
,
)
=>
Promise
<
boolean
>
;
verifyMessage
:
(
callbackBody
:
CallbackPayload
,
contentSignature
:
string
,
signingKey
:
string
,
)
=>
boolean
;
}
Type Declaration
middleware
:
(
cb
:
(
err
:
Error
|
null
,
req
:
ExpressRequest
,
res
:
ServerResponse
,
verified
:
boolean
,
payload
:
Entity
|
undefined
,
)
=>
void
,
)
=>
(
req
:
ExpressRequest
,
res
:
ServerResponse
)
=>
void
verifyCallback
:
(
callbackBody
:
CallbackPayload
,
contentSignature
:
string
)
=>
Promise
<
boolean
>
verifyMessage
:
(
callbackBody
:
CallbackPayload
,
contentSignature
:
string
,
signingKey
:
string
,
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
connectwise-rest
Loading...