Function example_oidc_cli::spawn_local_server
source ยท pub(crate) async fn spawn_local_server() -> Result<(Url, Receiver<String>, Sender<()>)>
Expand description
Spawn a local server to listen on redirects at the end of the authorization process.
Returns the URL the server listens to, the receiver that will receive the data returned by the provider and a sender to shutdown the server.