Skip to main content

Module account

Module account 

Source

Re-exportsยง

use axum::extract::Form; ๐Ÿ”’
use axum::extract::Request; ๐Ÿ”’
use axum::extract::State; ๐Ÿ”’
use axum::response::Html; ๐Ÿ”’
use axum::response::IntoResponse; ๐Ÿ”’
use axum::response::Redirect; ๐Ÿ”’
use axum::response::Response; ๐Ÿ”’
use http::HeaderValue; ๐Ÿ”’
use http::Method; ๐Ÿ”’
use http::StatusCode; ๐Ÿ”’
use http::header::CACHE_CONTROL; ๐Ÿ”’
use http::header::CONTENT_TYPE; ๐Ÿ”’
use http::header::REFERRER_POLICY; ๐Ÿ”’
use ruma::OwnedDeviceId; ๐Ÿ”’
use tuwunel_api::router::ACCOUNT_HEAD; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Error; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::utils::BoolExt; ๐Ÿ”’
use tuwunel_core::utils::html::escape as html_escape; ๐Ÿ”’
use tuwunel_service::Services; ๐Ÿ”’
use url::Url; ๐Ÿ”’
use self::account_deactivate::account_deactivate_confirm_html; ๐Ÿ”’
use self::account_deactivate::account_deactivate_execute_html; ๐Ÿ”’
use self::cross_signing_reset::cross_signing_reset_confirm_html; ๐Ÿ”’
use self::cross_signing_reset::cross_signing_reset_execute_html; ๐Ÿ”’
use self::profile::profile_html; ๐Ÿ”’
use self::profile_saved::profile_saved_html; ๐Ÿ”’
use self::session_end_confirm::session_end_confirm_html; ๐Ÿ”’
use self::session_end_execute::session_end_execute_html; ๐Ÿ”’
use self::session_list::sessions_list_html; ๐Ÿ”’
use self::session_view::session_view_html; ๐Ÿ”’
use super::consume_login_token; ๐Ÿ”’
use super::peek_login_token; ๐Ÿ”’
use super::sso_redirect_url; ๐Ÿ”’
use super::url_encode; ๐Ÿ”’

Modulesยง

account_deactivate ๐Ÿ”’
cross_signing_reset ๐Ÿ”’
profile ๐Ÿ”’
profile_saved ๐Ÿ”’
session_end_confirm ๐Ÿ”’
session_end_execute ๐Ÿ”’
session_list ๐Ÿ”’
session_view ๐Ÿ”’

Structsยง

AccountCallbackParams ๐Ÿ”’
AccountQueryParams ๐Ÿ”’

Staticsยง

ACCOUNT_CACHE_CONTROL ๐Ÿ”’
Cache-control header value.
ACCOUNT_CSS ๐Ÿ”’
Shared stylesheet served at /_tuwunel/oidc/account.css.
ACCOUNT_JS ๐Ÿ”’
Raw JS served at /_tuwunel/oidc/account.js. Referenced via <script src> for CSP compatibility.
ACCOUNT_JS_INCLUDE ๐Ÿ”’
ACCOUNT_MANAGEMENT_ACTIONS_SUPPORTED ๐Ÿ”’

Functionsยง

account_auth_redirect ๐Ÿ”’
account_css_route ๐Ÿ”’
account_error_page ๐Ÿ”’
account_error_response ๐Ÿ”’
account_html_response ๐Ÿ”’
account_js_route ๐Ÿ”’
account_native_redirect ๐Ÿ”’
account_redirect_response ๐Ÿ”’
account_sso_redirect ๐Ÿ”’
Redirect account authentication through the selected identity provider.
get_account_callback_route ๐Ÿ”’
get_account_route ๐Ÿ”’
handle_account_callback ๐Ÿ”’
normalize_account_action ๐Ÿ”’
post_account_callback_route ๐Ÿ”’
ts_cell ๐Ÿ”’
validate_account_action ๐Ÿ”’
Reject unsupported account management actions before authentication.