SessionCookieOptions constructor

const SessionCookieOptions({
  1. required int expiresIn,
})

Creates a new SessionCookieOptions with the specified expiration time.

The expiresIn is the session cookie custom expiration in milliseconds. The minimum allowed is 5 minutes (300000 ms) and the maximum allowed is 2 weeks (1209600000 ms).

Implementation

const SessionCookieOptions({required this.expiresIn});