PowAssent v0.1.0-alpha.1 PowAssent.Operations View Source

Operation methods that glues operation calls to context module.

Link to this section Summary

Link to this section Functions

Link to this function all(config, user) View Source
all(Pow.Config.t(), map()) :: [map()] | no_return()
Link to this function create(config, user, provider, uid) View Source
create(Pow.Config.t(), map(), binary(), binary()) ::
  {:ok, map()}
  | {:error, {:bound_to_different_user, map()}}
  | {:error, map()}
  | no_return()
Link to this function create_user(config, provider, uid, params, user_id_params) View Source
create_user(Pow.Config.t(), binary(), binary(), map(), map()) ::
  {:ok, map()}
  | {:error, {:bound_to_different_user | :missing_user_id_field, map()}}
  | {:error, map()}
  | no_return()
Link to this function delete(config, user, provider) View Source
delete(Pow.Config.t(), map(), binary()) ::
  {:ok, {number(), nil}} | {:error, {:no_password, map()}} | no_return()
Link to this function get_user_by_provider_uid(config, provider, uid) View Source
get_user_by_provider_uid(Pow.Config.t(), binary(), binary()) ::
  map() | nil | no_return()