Skip to main content

Module providers

Module providers 

Source

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use serde_json::Map as JsonObject; ๐Ÿ”’
use serde_json::Value as JsonValue; ๐Ÿ”’
use tokio::sync::RwLock; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::debug::INFO_SPAN_LEVEL; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use url::Url; ๐Ÿ”’
use crate::SelfServices; ๐Ÿ”’
use crate::client::read_response_capped; ๐Ÿ”’

Structsยง

Provider
Upstream identity providers (SSO)
Providers
Discovered providers

Functionsยง

check_issuer ๐Ÿ”’
Validate that the locally configured issuer_url matches the issuer claimed in any response. todo: cryptographic validation is not yet implemented here.
discovery_url ๐Ÿ”’
Compute the location of the /.well-known/openid-configuration based on the local provider config.
make_url ๐Ÿ”’
Generate a full URL for a request to the idp based on the idpโ€™s derived configuration.

Type Aliasesยง

ProviderId
Identity Provider ID