Skip to main content

Module uiaa

Module uiaa 

Source

Re-exportsΒ§

use std::borrow::Cow; πŸ”’
use ruma::CanonicalJsonValue; πŸ”’
use ruma::DeviceId; πŸ”’
use ruma::OwnedUserId; πŸ”’
use ruma::UserId; πŸ”’
use ruma::api::IncomingRequest; πŸ”’
use ruma::api::client::uiaa::AuthData; πŸ”’
use ruma::api::client::uiaa::AuthFlow; πŸ”’
use ruma::api::client::uiaa::AuthType; πŸ”’
use ruma::api::client::uiaa::UiaaInfo; πŸ”’
use serde_json::json; πŸ”’
use serde_json::value::to_raw_value; πŸ”’
use tuwunel_core::Err; πŸ”’
use tuwunel_core::Error; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::err; πŸ”’
use tuwunel_core::is_equal_to; πŸ”’
use tuwunel_core::utils; πŸ”’
use tuwunel_core::utils::BoolExt; πŸ”’
use tuwunel_core::utils::OptionExt; πŸ”’
use tuwunel_core::utils::future::OptionFutureExt; πŸ”’
use tuwunel_core::utils::future::TryExtExt; πŸ”’
use tuwunel_service::Services; πŸ”’
use tuwunel_service::uiaa::SESSION_ID_LENGTH; πŸ”’
use super::jwt::validate_user; πŸ”’
use crate::Ruma; πŸ”’

FunctionsΒ§

auth_uiaa
Authenticates a user through the request’s UIAA flow.
select_idp πŸ”’
Choose the identity provider to bind to the UIAA session’s SSO stage.