#[non_exhaustive]pub struct UpdateOpenIdConnectGroupConfiguration {
pub group_claim: String,
pub group_entity_type: String,
}Expand description
The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup.
This data type is part of a UpdateOpenIdConnectConfiguration structure, which is a parameter to UpdateIdentitySource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group_claim: StringThe token claim that you want Verified Permissions to interpret as group membership. For example, groups.
group_entity_type: StringThe policy store entity type that you want to map your users' group claim to. For example, MyCorp::UserGroup. A group entity type is an entity that can have a user entity type as a member.
Implementations§
source§impl UpdateOpenIdConnectGroupConfiguration
impl UpdateOpenIdConnectGroupConfiguration
sourcepub fn group_claim(&self) -> &str
pub fn group_claim(&self) -> &str
The token claim that you want Verified Permissions to interpret as group membership. For example, groups.
sourcepub fn group_entity_type(&self) -> &str
pub fn group_entity_type(&self) -> &str
The policy store entity type that you want to map your users' group claim to. For example, MyCorp::UserGroup. A group entity type is an entity that can have a user entity type as a member.
source§impl UpdateOpenIdConnectGroupConfiguration
impl UpdateOpenIdConnectGroupConfiguration
sourcepub fn builder() -> UpdateOpenIdConnectGroupConfigurationBuilder
pub fn builder() -> UpdateOpenIdConnectGroupConfigurationBuilder
Creates a new builder-style object to manufacture UpdateOpenIdConnectGroupConfiguration.
Trait Implementations§
source§impl Clone for UpdateOpenIdConnectGroupConfiguration
impl Clone for UpdateOpenIdConnectGroupConfiguration
source§fn clone(&self) -> UpdateOpenIdConnectGroupConfiguration
fn clone(&self) -> UpdateOpenIdConnectGroupConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateOpenIdConnectGroupConfiguration
impl PartialEq for UpdateOpenIdConnectGroupConfiguration
source§fn eq(&self, other: &UpdateOpenIdConnectGroupConfiguration) -> bool
fn eq(&self, other: &UpdateOpenIdConnectGroupConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOpenIdConnectGroupConfiguration
Auto Trait Implementations§
impl Freeze for UpdateOpenIdConnectGroupConfiguration
impl RefUnwindSafe for UpdateOpenIdConnectGroupConfiguration
impl Send for UpdateOpenIdConnectGroupConfiguration
impl Sync for UpdateOpenIdConnectGroupConfiguration
impl Unpin for UpdateOpenIdConnectGroupConfiguration
impl UnwindSafe for UpdateOpenIdConnectGroupConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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 more