pub async fn request_device_authorization(
http: &Client,
device_endpoint: &str,
client_id: &str,
scope: Option<&str>,
resource: Option<&str>,
) -> Result<DeviceAuthResponse, OAuthError>Expand description
POST the RFC 8628 §3.1 device authorization request (form-encoded).