Potionx.Auth.SessionService behaviour (potionx v0.8.15) View Source

Link to this section Summary

Link to this section Callbacks

Specs

create(Potionx.Context.Service.t(), struct() | nil) ::
  {:ok, struct()} | {:error, map()}

Specs

delete(Potionx.Context.Service.t()) :: {:ok, struct()} | {:error, String.t()}

Specs

Specs

one_from_cache(Potionx.Context.Service.t()) :: struct() | map() | nil

Specs

patch(Potionx.Context.Service.t()) :: {:ok, struct()} | {:error, map()}

Specs

use_redis() :: boolean()