Skip to main content

device_start

Function device_start 

Source
pub async fn device_start(
    client: &Client,
    discovery: &Discovery,
    client_id: &str,
) -> Result<DeviceAuth, OidcError>
Expand description

Start a device authorization (RFC 8628 §3.1). tracing-cli is a PUBLIC client, so the form carries client_id and no client secret.