From c325e91d0f24d908686eb8a1ca292c0c25a71030 Mon Sep 17 00:00:00 2001 From: Daniel Kilimnik Date: Sat, 11 Jan 2025 21:13:52 +0100 Subject: [PATCH] fixup! feat(oidc): add device code oidc authentication method --- crates/matrix-sdk/src/authentication/device_code/login.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/matrix-sdk/src/authentication/device_code/login.rs b/crates/matrix-sdk/src/authentication/device_code/login.rs index 36025a8f1f3..7529b2ba464 100644 --- a/crates/matrix-sdk/src/authentication/device_code/login.rs +++ b/crates/matrix-sdk/src/authentication/device_code/login.rs @@ -19,6 +19,8 @@ use ruma::OwnedDeviceId; use tracing::trace; use super::{DeviceCodeFinishLoginError, DeviceCodeLoginError}; +#[cfg(doc)] +use crate::oidc::Oidc; use crate::{ authentication::common_oidc::{oidc_client::OidcClient, DeviceAuhorizationOidcError}, oidc::registrations::OidcRegistrations,