View Source Bonfire.Me.Users (bonfire v0.3.0-classic-beta.4)

Link to this section Summary

Link to this section Types

@type changeset_extra() :: Bonfire.Data.Identity.Account.t() | :remote
@type changeset_name() :: :create

Link to this section Functions

Link to this function

ap_receive_activity(creator, activity, object)

View Source
Link to this function

by_username_and_account(username, account_id)

View Source

Used for switch-user functionality

Link to this function

changeset(name, user \\ %User{}, params, extra)

View Source
@spec changeset(
  name :: changeset_name(),
  user :: Bonfire.Data.Identity.User.t(),
  params :: map(),
  extra :: Bonfire.Data.Identity.Account.t() | :remote
) :: Ecto.Changeset.t()

A User is a logical identity within the system belonging to an Account.

Link to this function

create(params_or_changeset, extra \\ nil)

View Source

Creates a remote user

Link to this function

get_only_in_account(account)

View Source
Link to this function

indexing_object_format(u)

View Source

Grants a user superpowers.

Link to this function

maybe_index_user(object)

View Source

Revokes a user's superpowers.

Link to this function

update(user, params, extra \\ nil)

View Source
Link to this function

update_local_actor(user, params)

View Source
Link to this function

update_remote(user, params)

View Source

Updates a remote user