UNPKG
caplib
Version:
latest (0.1.15)
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
0.1.0
Credentialless Authentication Protocol Library for Web Applications
caplib
/
dist
/
wallet-auth-N0r0iYmG.d.ts
10 lines
(7 loc)
•
297 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
NextRequest
}
from
'next/server'
;
import
{ d
as
AuthHandlerConfig
}
from
'./types-B5TgxFMm.js'
;
declare
const
createAuthHandler
:
(
config
?:
AuthHandlerConfig
) =>
{
GET
:
() =>
Promise
<
Response
>;
POST
:
(
req
:
NextRequest
) =>
Promise
<
Response
>; };
export
{ createAuthHandler
as
c };