SessionManager constructor

const SessionManager({
  1. SessionAdapter adapter = const MemorySessionAdapter(),
  2. String name = defaultSessionName,
  3. String? domain,
  4. String? path,
  5. bool secure = false,
  6. bool httpOnly = true,
  7. SessionIdentifierGenerator identifierGenerator = generateIdentifier,
})

Implementation

const SessionManager({
  this.adapter = const MemorySessionAdapter(),
  this.name = defaultSessionName,
  this.domain,
  this.path,
  this.secure = false,
  this.httpOnly = true,
  this.identifierGenerator = generateIdentifier,
});