Pow v0.1.0-alpha.1 Pow.Extension.Phoenix.ControllerCallbacks View Source

Module that adds controller callbacks for extensions.

It’ll automatically trigger all extension callbacks.

Usage

use Pow.Plug.Session,
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks,
  extensions: [PowExtensionA, PowExtensionB]

Link to this section Summary

Link to this section Functions

Link to this function before_process(controller, action, results, config) View Source
before_process(atom(), atom(), any(), Pow.Config.t()) :: any()
Link to this function before_respond(controller, action, results, config) View Source
before_respond(atom(), atom(), any(), Pow.Config.t()) :: any()