pub struct FederationConfig {
pub issuer: String,
pub audience: String,
pub target: ProviderTarget,
}Expand description
The trust relationship an operator established at the provider. None of
this is secret — it is the absence of a secret that makes federation
worth the setup effort — but it lives behind sudo with every other
engine’s config for consistency.
Fields§
§issuer: StringThe consumer’s OIDC issuer, exactly as registered at the provider.
audience: StringThe audience the provider was told to require.
target: ProviderTargetTrait Implementations§
Source§impl Clone for FederationConfig
impl Clone for FederationConfig
Source§impl Debug for FederationConfig
impl Debug for FederationConfig
Source§impl<'de> Deserialize<'de> for FederationConfig
impl<'de> Deserialize<'de> for FederationConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FederationConfig
impl RefUnwindSafe for FederationConfig
impl Send for FederationConfig
impl Sync for FederationConfig
impl Unpin for FederationConfig
impl UnsafeUnpin for FederationConfig
impl UnwindSafe for FederationConfig
Blanket Implementations§
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
Mutably borrows from an owned value. Read more