Guardian v0.13.0 Guardian.Hooks behaviour
This module helps to hook into the lifecycle of authentication.
Summary
Callbacks
Specs
after_encode_and_sign(resource :: term, type :: atom, claims :: map, token :: String.t) :: term
Specs
after_sign_in(conn :: Plug.Conn.t, location :: atom | nil) :: term
Specs
before_encode_and_sign(resource :: term, type :: atom, claims :: map) :: term
Specs
before_sign_out(conn :: Plug.Conn.t, location :: atom | nil) :: term