Skip to main content

Module registration

Module registration 

Source

Re-exportsยง

use axum::Json; ๐Ÿ”’
use axum::body::Body; ๐Ÿ”’
use axum::extract::State; ๐Ÿ”’
use axum::response::IntoResponse; ๐Ÿ”’
use http::HeaderMap; ๐Ÿ”’
use http::Response; ๐Ÿ”’
use http::StatusCode; ๐Ÿ”’
use http::header::AUTHORIZATION; ๐Ÿ”’
use serde_json::json; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::info; ๐Ÿ”’
use tuwunel_core::info; ๐Ÿ”’
use tuwunel_core::utils::url::is_loopback; ๐Ÿ”’
use tuwunel_service::oauth::server::DcrRequest; ๐Ÿ”’
use url::Url; ๐Ÿ”’
use super::oauth_error; ๐Ÿ”’
use super::redirect_allowlisted; ๐Ÿ”’
use crate::ClientIp; ๐Ÿ”’

Enumsยง

DcrError ๐Ÿ”’
RFC 7591 ยง3.2.2 client-registration error response.

Functionsยง

is_reverse_dns ๐Ÿ”’
parse_https ๐Ÿ”’
registration_route ๐Ÿ”’
shares_base ๐Ÿ”’
validate_client_metadata ๐Ÿ”’
validate_redirect_uri ๐Ÿ”’
validate_web_redirect ๐Ÿ”’