View Source KeenAuth.Processor behaviour (KeenAuth v0.2.2)
Summary
Callbacks
@callback process( conn :: Plug.Conn.t(), provider :: atom(), mapped_user :: KeenAuth.User.t() | map(), response :: KeenAuth.AuthenticationController.oauth_callback_response() | nil ) :: {:ok, Plug.Conn.t(), KeenAuth.User.t() | map(), KeenAuth.AuthenticationController.oauth_callback_result() | nil} | Plug.Conn.t()
@callback sign_out(conn :: Plug.Conn.t(), provider :: binary(), params :: map()) :: Plug.Conn.t()