UeberauthOidcc.Request (Ueberauth OIDCC v0.4.0-pre.4)

Support implementation of Ueberauth.Strategy.handle_request!/1

Summary

Functions

Link to this function

handle_request(opts, conn)

@spec handle_request(UeberauthOidcc.Config.t(), Plug.Conn.t()) ::
  {:ok, Plug.Conn.t()} | {:error, Plug.Conn.t(), term()}

Support implementation of Ueberauth.Strategy.handle_request!/1

Takes options and the Plug.Conn.t(), and returns either an updated Plug.Conn.t() redirected to the authentication endpoint, or an error (and the updated conn).

See UeberauthOidcc.Error.set_described_error/3 for help with rendering the error.