Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JwtUserSessionManagerOptions<Device, Location>

Type parameters

  • Device: DeviceBase

  • Location

Hierarchy

  • JwtUserSessionManagerOptions

Properties

Readonly invalidationOptions

invalidationOptions: InvalidationStrategyOptions<Device, Location>

Options for invalidation strategy.
Note! They should not be modified after, as this object will be used by invalidation strategy without being cloned.

Readonly secret

secret: string | Buffer | PublicPrivateKeys

Secret used for JWT signing and verify.

Readonly signOptions

signOptions: Readonly<Omit<RequireSome<SignOptions, "algorithm" | "expiresIn" | "audience" | "issuer">, "mutatePayload" | "noTimestamp" | "header" | "encoding">>

Default sign options.

Readonly verifyOptions

verifyOptions: Readonly<Omit<RequireSome<VerifyOptions, "audience" | "issuer" | "algorithms">, "clockTimestamp" | "complete" | "ignoreExpiration" | "ignoreNotBefore">>

Default verify options.