UNPKG
auth-jwt
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Biblioteca de autenticação simples via JWT
github.com/jovemnf/auth-jwt
jovemnf/auth-jwt
auth-jwt
/
index.d.ts
6 lines
(5 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
declare
module
"auth-jwt"
{
export
function
checkToken
(
token
:
string
,
secret
:
string
):
Promise
<
object
>;
export
function
verify
(
req
:
any
,
secret
:
string
):
Promise
<
object
>;
export
function
getToken
(
req
:
string
):
Promise
<
object
>; }