mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
26 lines
753 B
JSON
26 lines
753 B
JSON
{
|
|
"jsonwebtoken": {
|
|
"SignOptions": {
|
|
"algorithm": "string",
|
|
"expiresInMinutes": "number",
|
|
"expiresIn": "string",
|
|
"audience": "string",
|
|
"subject": "string",
|
|
"issuer": "string",
|
|
"noTimestamp": "bool"
|
|
},
|
|
"VerifyOptions": {
|
|
"algorithms": "[string]",
|
|
"audience": "string",
|
|
"issuer": "string",
|
|
"ignoreExpiration": "bool",
|
|
"maxAge": "string"
|
|
},
|
|
"VerifyCallbak": {},
|
|
"sign": "fn(payload: string, Buffer: ?, Object: ?, secretOrPrivateKey: string, Buffer: ?, options?: SignOptions) -> string",
|
|
"verify": "fn(token: string, secretOrPublicKey: string, Buffer: ?, callback?: VerifyCallbak)",
|
|
"decode": "fn(token: string) -> ?"
|
|
},
|
|
"!name": "jsonwebtoken"
|
|
}
|