Initializerhummingbird-auth 2.0.1HummingbirdAuth
init(sessionStorage:defaultSessionExpiration:)
Initialize Session Middleware
init(sessionStorage: SessionStorage<Context.Session>, defaultSessionExpiration: Duration = .seconds(60 * 60 * 12))
sessionStorage: Session storage
defaultSessionExpiration: Default expiration for session data