#[non_exhaustive]pub struct OpenIdConnectGroupConfigurationItem {
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 OpenIdConnectConfigurationItem structure, which is a parameter of ListIdentitySourcea.
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 OpenIdConnectGroupConfigurationItem
impl OpenIdConnectGroupConfigurationItem
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 OpenIdConnectGroupConfigurationItem
impl OpenIdConnectGroupConfigurationItem
sourcepub fn builder() -> OpenIdConnectGroupConfigurationItemBuilder
pub fn builder() -> OpenIdConnectGroupConfigurationItemBuilder
Creates a new builder-style object to manufacture OpenIdConnectGroupConfigurationItem.
Trait Implementations§
source§impl Clone for OpenIdConnectGroupConfigurationItem
impl Clone for OpenIdConnectGroupConfigurationItem
source§fn clone(&self) -> OpenIdConnectGroupConfigurationItem
fn clone(&self) -> OpenIdConnectGroupConfigurationItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OpenIdConnectGroupConfigurationItem
impl PartialEq for OpenIdConnectGroupConfigurationItem
source§fn eq(&self, other: &OpenIdConnectGroupConfigurationItem) -> bool
fn eq(&self, other: &OpenIdConnectGroupConfigurationItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OpenIdConnectGroupConfigurationItem
Auto Trait Implementations§
impl Freeze for OpenIdConnectGroupConfigurationItem
impl RefUnwindSafe for OpenIdConnectGroupConfigurationItem
impl Send for OpenIdConnectGroupConfigurationItem
impl Sync for OpenIdConnectGroupConfigurationItem
impl Unpin for OpenIdConnectGroupConfigurationItem
impl UnwindSafe for OpenIdConnectGroupConfigurationItem
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> 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