Aesir

v0.0.3

  • Pages
  • Modules
  • Mix Tasks

    Aesir v0.0.3 Aesir.Context behaviour View Source

    Link to this section Summary

    Types

    t()

    Functions

    add_auth(c, method, value)
    authentication(context, method)
    private(context, key)
    private(context, module, key)
    put_private(c, module, key, value)
    resource(context, resource)
    resources(context)
    resources(context, type)

    Callbacks

    context(t, arg2)

    Link to this section Types

    Link to this type

    t() View Source
    t() :: %Aesir.Context{
      action: term(),
      authentication: map(),
      conn: Plug.Conn.t(),
      private: map(),
      public: map(),
      resources: term()
    }

    Link to this section Functions

    Link to this function

    add_auth(c, method, value) View Source

    Link to this function

    authentication(context, method) View Source

    Link to this function

    private(context, key) View Source

    Link to this function

    private(context, module, key) View Source

    Link to this function

    put_private(c, module, key, value) View Source

    Link to this function

    resource(context, resource) View Source

    Link to this function

    resources(context) View Source

    Link to this function

    resources(context, type) View Source

    Link to this section Callbacks

    Link to this callback

    context(t, arg2) View Source
    context(t(), Plug.Conn.t()) :: t()

    Built using ExDoc (v0.20.1), designed by Friedel Ziegelmayer.