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