#[non_exhaustive]pub struct OpenIdConnectGroupConfigurationBuilder { /* private fields */ }Expand description
A builder for OpenIdConnectGroupConfiguration.
Implementations§
source§impl OpenIdConnectGroupConfigurationBuilder
impl OpenIdConnectGroupConfigurationBuilder
sourcepub fn group_claim(self, input: impl Into<String>) -> Self
pub fn group_claim(self, input: impl Into<String>) -> Self
The token claim that you want Verified Permissions to interpret as group membership. For example, groups.
sourcepub fn set_group_claim(self, input: Option<String>) -> Self
pub fn set_group_claim(self, input: Option<String>) -> Self
The token claim that you want Verified Permissions to interpret as group membership. For example, groups.
sourcepub fn get_group_claim(&self) -> &Option<String>
pub fn get_group_claim(&self) -> &Option<String>
The token claim that you want Verified Permissions to interpret as group membership. For example, groups.
sourcepub fn group_entity_type(self, input: impl Into<String>) -> Self
pub fn group_entity_type(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_group_entity_type(self, input: Option<String>) -> Self
pub fn set_group_entity_type(self, input: Option<String>) -> Self
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.
sourcepub fn get_group_entity_type(&self) -> &Option<String>
pub fn get_group_entity_type(&self) -> &Option<String>
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.
sourcepub fn build(self) -> Result<OpenIdConnectGroupConfiguration, BuildError>
pub fn build(self) -> Result<OpenIdConnectGroupConfiguration, BuildError>
Consumes the builder and constructs a OpenIdConnectGroupConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OpenIdConnectGroupConfigurationBuilder
impl Clone for OpenIdConnectGroupConfigurationBuilder
source§fn clone(&self) -> OpenIdConnectGroupConfigurationBuilder
fn clone(&self) -> OpenIdConnectGroupConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OpenIdConnectGroupConfigurationBuilder
impl Default for OpenIdConnectGroupConfigurationBuilder
source§fn default() -> OpenIdConnectGroupConfigurationBuilder
fn default() -> OpenIdConnectGroupConfigurationBuilder
source§impl PartialEq for OpenIdConnectGroupConfigurationBuilder
impl PartialEq for OpenIdConnectGroupConfigurationBuilder
source§fn eq(&self, other: &OpenIdConnectGroupConfigurationBuilder) -> bool
fn eq(&self, other: &OpenIdConnectGroupConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenIdConnectGroupConfigurationBuilder
Auto Trait Implementations§
impl Freeze for OpenIdConnectGroupConfigurationBuilder
impl RefUnwindSafe for OpenIdConnectGroupConfigurationBuilder
impl Send for OpenIdConnectGroupConfigurationBuilder
impl Sync for OpenIdConnectGroupConfigurationBuilder
impl Unpin for OpenIdConnectGroupConfigurationBuilder
impl UnwindSafe for OpenIdConnectGroupConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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