Function example_oidc_cli::use_auth_url

source ยท
pub(crate) async fn use_auth_url(
    url: &Url,
    state: &str,
    data_rx: Receiver<String>,
    signal_tx: Sender<()>
) -> Result<AuthorizationCode>
Expand description

Open the authorization URL and wait for it to be complete.

Returns the code to obtain the access token.