JaguarSessionManager constructor

JaguarSessionManager({
  1. Duration? expiry,
  2. String? signerKey,
  3. SessionIo io = const SessionIoCookie(),
})

Constructs a new JaguarSessionManager with given cookieName, expiry and signerKey.

Implementation

JaguarSessionManager(
    {this.expiry, String? signerKey, this.io = const SessionIoCookie()})
    : coder = JaguarMapCoder(
          signer:
              signerKey != null ? Hmac(sha256, signerKey.codeUnits) : null);