Guardian.Hooks behaviour
This module helps to hook into the lifecycle of authentication.
Callbacks
Specs:
- after_mint(resource :: term, type :: atom, claims :: Map, token :: String.t) :: term
Specs:
- after_sign_in(conn :: Plug.Conn.t, location :: atom | nil) :: term
Specs:
- before_mint(resource :: term, type :: atom, claims :: Map) :: term
Specs:
- before_sign_out(conn :: Plug.Conn.t, location :: atom | nil) :: term