pub enum TrustRoot {
Oidc {
issuer: String,
},
Ado {
realm: String,
},
GitHub {
org: String,
},
}Expand description
Supported federation roots (ADR-0019 §Decision; ADO-IAM forcing).
The variant is the doctrinal marker that an external trust root is in play; extending this set requires its own ADR per ADR-0019 §Compliance “Doctrinal red-line”.
Variants§
Oidc
Generic OIDC issuer. issuer is the issuer URL exactly as it
appears in the IdP’s discovery document (e.g.
https://login.example.com/).
Ado
ADO (Application Delivery Organization) realm.
GitHub
GitHub organization acting as the federation root (OIDC-backed in practice, but the doctrinal marker is distinct so admission can policy-route on org name).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrustRoot
impl<'de> Deserialize<'de> for TrustRoot
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
impl Eq for TrustRoot
impl StructuralPartialEq for TrustRoot
Auto Trait Implementations§
impl Freeze for TrustRoot
impl RefUnwindSafe for TrustRoot
impl Send for TrustRoot
impl Sync for TrustRoot
impl Unpin for TrustRoot
impl UnsafeUnpin for TrustRoot
impl UnwindSafe for TrustRoot
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