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