lib/utopia/session.rb
# Constructs a valid session for the given request. These fields must match as per the checks performed in `valid_session?`:
Constructs a valid session for the given request. These fields must match as per the checks performed in `valid_session?`.
Constructs a valid session for the given request . These fields must match as per the checks performed in ` valid_session? ` .
def build_initial_session(request)
			{
				user_agent: request.user_agent,
				created_at: Time.now.utc,
				updated_at: Time.now.utc,
			}
		end
def build_initial_session ( request ) { user_agent : request . user_agent , created_at : Time . now . utc , updated_at : Time . now . utc , } end
Constructs a valid session for the given request.
Constructs a valid session for the given request .
request