UeberauthOidcc.Callback (Ueberauth OIDCC v0.4.2)
Support implementation of Ueberauth.Strategy.handle_callback!/1
Summary
Functions
Support implementation of Ueberauth.Strategy.handle_callback!/1
Functions
@spec handle_callback(UeberauthOidcc.Config.t(), Plug.Conn.t()) :: {:ok, Plug.Conn.t(), Oidcc.Token.t(), %{ optional(:userinfo) => :oidcc_jwt_util.claims(), optional(:introspection) => Oidcc.TokenIntrospection.t() }} | {:error, Plug.Conn.t(), term()}
Support implementation of Ueberauth.Strategy.handle_callback!/1
Takes options and the Plug.Conn.t()
, and returns either an updated
Plug.Conn.t()
, a token, userinfo claims, and introspection, or an error (and the
updated conn).
See UeberauthOidcc.Error.set_described_error/3
for help with rendering the
error.