View Source Charon.Models.Session (Charon v1.0.0-beta1)
A session.
Link to this section Summary
Functions
Create a new session from config values and overrides.
Link to this section Types
Link to this section Functions
@spec new(Charon.Config.t(), keyword() | map()) :: t()
Create a new session from config values and overrides.
Provides defaults for :id
, :created_at
and :expires_at
.