hook packages
This commit is contained in:
parent
2c7319d00b
commit
b7a4a17ea5
4
index.d.ts
vendored
4
index.d.ts
vendored
@ -307,7 +307,7 @@ interface JwtPackage {
|
||||
* @param claims data object
|
||||
* @param options options (secret, validityDuration = expiry in X seconds)
|
||||
*/
|
||||
jwtCreate(
|
||||
create(
|
||||
claims: {
|
||||
[key: string]: any
|
||||
},
|
||||
@ -323,7 +323,7 @@ interface JwtPackage {
|
||||
* @param token token string
|
||||
* @param options options (secret)
|
||||
*/
|
||||
jwtParse(
|
||||
parse(
|
||||
token: string,
|
||||
options?: {
|
||||
secret?: string
|
||||
|
Loading…
Reference in New Issue
Block a user