interface JwtModuleOptions {
global?: boolean
signOptions?: jwt.SignOptions
secret?: string | Buffer
publicKey?: string | Buffer
privateKey?: jwt.Secret
secretOrPrivateKey?: jwt.Secret
secretOrKeyProvider?: (requestType: JwtSecretRequestType, tokenOrPayload: string | object | Buffer, options?: jwt.VerifyOptions | jwt.SignOptions) => jwt.Secret
verifyOptions?: jwt.VerifyOptions
}
Properties
Property |
Description |
global?: boolean
|
|
signOptions?: jwt.SignOptions
|
|
secret?: string | Buffer
|
|
publicKey?: string | Buffer
|
|
privateKey?: jwt.Secret
|
|
secretOrPrivateKey?: jwt.Secret
|
|
secretOrKeyProvider?: (requestType: JwtSecretRequestType, tokenOrPayload: string | object | Buffer, options?: jwt.VerifyOptions | jwt.SignOptions) => jwt.Secret
|
|
verifyOptions?: jwt.VerifyOptions
|
|