UeberauthOidcc (Ueberauth OIDCC v0.4.0-pre.2)

UeberauthOidcc is two things:

Summary

Functions

Link to this function

initiate_logout_url(auth, params \\ %{})

@spec initiate_logout_url(
  auth :: Ueberauth.Auth.t(),
  opts :: :oidcc_logout.initiate_url_opts() | :oidcc_client_context.opts()
) :: {:ok, String.t()} | {:error, term()}

Create a logout URL for a given Ueberauth.Auth.t/0 struct.

Also takes a an map of query parameters to append to the URL.

Link to this function

initiate_logout_url(opts, id_token, params)

@spec initiate_logout_url(
  UeberauthOidcc.Config.t(),
  id_token :: binary(),
  params :: :oidcc_logout.initiate_url_opts() | :oidcc_client_context.opts()
) :: {:ok, String.t()} | {:error, term()}

Create a logout URL.

Takes a UeberauthOidcc.Config.t(), an ID token value, and parameters to append to the URL.