pub struct TrustedIssuerConfig {
pub jwks_uri: Option<String>,
pub jwks_cache_ttl_secs: u64,
pub allow_http: bool,
pub federate_tui_client: Option<FederateClientClassConfig>,
}Expand description
Configuration for a trusted external OIDC issuer.
Fields§
§jwks_uri: Option<String>Override the JWKS URI directly (skips AS metadata discovery).
If absent, JWKS URI is auto-discovered from {issuer}/.well-known/oauth-authorization-server.
jwks_cache_ttl_secs: u64How long to cache the JWKS before re-fetching (default: 300 seconds).
allow_http: boolAllow plain HTTP for JWKS fetches (default: false).
SECURITY WARNING: Enabling this allows MITM attacks on the JWKS endpoint. Only use for internal networks or local development. Never enable in production.
federate_tui_client: Option<FederateClientClassConfig>Additional accepted Federate client class beside the hardcoded staging
www pin (the TUI harness). Issuer-scoped: only consulted when this
entry’s key is the Federate issuer origin (https://login.federate.to).
Absent = current behavior: the hardcoded staging client is the only
accepted class (backward compatible).
Trait Implementations§
Source§impl Clone for TrustedIssuerConfig
impl Clone for TrustedIssuerConfig
Source§fn clone(&self) -> TrustedIssuerConfig
fn clone(&self) -> TrustedIssuerConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TrustedIssuerConfig
impl Debug for TrustedIssuerConfig
Source§impl Default for TrustedIssuerConfig
impl Default for TrustedIssuerConfig
Source§fn default() -> TrustedIssuerConfig
fn default() -> TrustedIssuerConfig
Source§impl<'de> Deserialize<'de> for TrustedIssuerConfig
impl<'de> Deserialize<'de> for TrustedIssuerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for TrustedIssuerConfig
impl RefUnwindSafe for TrustedIssuerConfig
impl Send for TrustedIssuerConfig
impl Sync for TrustedIssuerConfig
impl Unpin for TrustedIssuerConfig
impl UnsafeUnpin for TrustedIssuerConfig
impl UnwindSafe for TrustedIssuerConfig
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request