rivet_ident
v2.3.1
  • Pages
  • Modules

    View Source Rivet.Ident.UserCode.Lib (rivet_ident v2.3.1)

    Link to this section Summary

    Types

    ecto_p_result()
    model_p_result()

    Functions

    clear_all_codes(for_user_id, type)
    clear_expired_codes()
    generate_code(for_user_id, type, expiration_minutes, meta \\ %{})

    Link to this section Types

    Link to this type

    ecto_p_result()

    View Source
    @type ecto_p_result() :: {:ok | :error, Ecto.Changeset.t()}
    Link to this type

    model_p_result()

    View Source
    @type model_p_result() :: {:ok, Rivet.Ident.UserCode.t()}

    Link to this section Functions

    Link to this function

    clear_all_codes(for_user_id, type)

    View Source
    Link to this function

    clear_expired_codes()

    View Source
    Link to this function

    generate_code(for_user_id, type, expiration_minutes, meta \\ %{})

    View Source

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.4) for the Elixir programming language