Struct OidcMapping
pub struct OidcMapping {
pub issuer: String,
pub claim_path: String,
pub profile_map: HashMap<String, String>,
pub service_profile_map: HashMap<String, String>,
}Expand description
The identity-mapping half of one [oidc.<alias>] trust relationship.
Fields§
§issuer: String§claim_path: String§profile_map: HashMap<String, String>Claim value -> permission-profile alias (human OIDC subjects).
service_profile_map: HashMap<String, String>Verified service client_id -> permission-profile alias. Service
principals resolve ONLY through this map, never profile_map.
Trait Implementations§
Source§impl Clone for OidcMapping
impl Clone for OidcMapping
Source§fn clone(&self) -> OidcMapping
fn clone(&self) -> OidcMapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OidcMapping
impl Debug for OidcMapping
Source§impl Default for OidcMapping
impl Default for OidcMapping
Source§fn default() -> OidcMapping
fn default() -> OidcMapping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OidcMapping
impl RefUnwindSafe for OidcMapping
impl Send for OidcMapping
impl Sync for OidcMapping
impl Unpin for OidcMapping
impl UnsafeUnpin for OidcMapping
impl UnwindSafe for OidcMapping
Blanket Implementations§
§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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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 more