#[non_exhaustive]pub struct WorkforceIdentitySettings {
pub workforce_pools: Vec<String>,
pub oauth2: Option<OAuth2>,
/* private fields */
}Expand description
WorkforceIdentitySettings allows customers to configure workforce pools and OAuth 2.0 settings to gate their applications using a third-party IdP with access control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workforce_pools: Vec<String>The workforce pool resources. Only one workforce pool is accepted.
oauth2: Option<OAuth2>OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
Implementations§
Source§impl WorkforceIdentitySettings
impl WorkforceIdentitySettings
pub fn new() -> Self
Sourcepub fn set_workforce_pools<T, V>(self, v: T) -> Self
pub fn set_workforce_pools<T, V>(self, v: T) -> Self
Sets the value of workforce_pools.
Sourcepub fn set_oauth2<T>(self, v: T) -> Self
pub fn set_oauth2<T>(self, v: T) -> Self
Sets the value of oauth2.
Trait Implementations§
Source§impl Clone for WorkforceIdentitySettings
impl Clone for WorkforceIdentitySettings
Source§fn clone(&self) -> WorkforceIdentitySettings
fn clone(&self) -> WorkforceIdentitySettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkforceIdentitySettings
impl Debug for WorkforceIdentitySettings
Source§impl Default for WorkforceIdentitySettings
impl Default for WorkforceIdentitySettings
Source§fn default() -> WorkforceIdentitySettings
fn default() -> WorkforceIdentitySettings
Returns the “default value” for a type. Read more
Source§impl Message for WorkforceIdentitySettings
impl Message for WorkforceIdentitySettings
impl StructuralPartialEq for WorkforceIdentitySettings
Auto Trait Implementations§
impl Freeze for WorkforceIdentitySettings
impl RefUnwindSafe for WorkforceIdentitySettings
impl Send for WorkforceIdentitySettings
impl Sync for WorkforceIdentitySettings
impl Unpin for WorkforceIdentitySettings
impl UnwindSafe for WorkforceIdentitySettings
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
Mutably borrows from an owned value. Read more