Beignet API reference
Preparing search index...
@beignet/core
server
AuthHookArgs
Type Alias AuthHookArgs<Ctx>
Arguments passed to auth hook callbacks.
type
AuthHookArgs
<
Ctx
>
=
{
body
:
unknown
;
contract
:
{
metadata
?:
Record
<
string
,
unknown
>
}
;
ctx
:
Ctx
;
headers
:
unknown
;
path
:
unknown
;
query
:
unknown
;
req
:
HttpRequestLike
;
}
Type Parameters
Ctx
Index
Properties
body
contract
ctx
headers
path
query
req
Properties
body
body
:
unknown
contract
contract
:
{
metadata
?:
Record
<
string
,
unknown
>
}
ctx
ctx
:
Ctx
headers
headers
:
unknown
path
path
:
unknown
query
query
:
unknown
req
req
:
HttpRequestLike
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
contract
ctx
headers
path
query
req
Beignet API reference
Loading...
Arguments passed to auth hook callbacks.