AuthShield v0.0.4 AuthShield.Authentication.Schemas.Session View Source
User authenticated session.
Link to this section Summary
Functions
Generates an Ecto.Changeset
struct with the changes.
Generates an Ecto.Changeset
struct with the changes.
Link to this section Types
Link to this type
t()
View Sourcet() :: %AuthShield.Authentication.Schemas.Session{ __meta__: term(), expiration: String.t(), id: binary(), inserted_at: NaiveDateTime.t(), login_at: NaiveDateTime.t(), logout_at: NaiveDateTime.t(), remote_ip: String.t(), updated_at: NaiveDateTime.t(), user: AuthShield.Resources.Schemas.User.t(), user_agent: String.t(), user_id: term() }
Abstract session module type.
Link to this section Functions
Link to this function
insert_changeset(model, params)
View Sourceinsert_changeset(model :: t(), params :: map()) :: Ecto.Changeset.t()
Generates an Ecto.Changeset
struct with the changes.
Link to this function
update_changeset(model, params)
View Sourceupdate_changeset(model :: t(), params :: map()) :: Ecto.Changeset.t()
Generates an Ecto.Changeset
struct with the changes.