pub struct ProjectConfig { /* private fields */ }Expand description
Manages project-level configurations like OIDC and SAML providers.
Implementations§
Source§impl ProjectConfig
impl ProjectConfig
pub async fn create_oidc_provider_config( &self, request: CreateOidcProviderConfigRequest, ) -> Result<OidcProviderConfig, AuthError>
pub async fn get_oidc_provider_config( &self, config_id: &str, ) -> Result<OidcProviderConfig, AuthError>
pub async fn update_oidc_provider_config( &self, config_id: &str, request: UpdateOidcProviderConfigRequest, ) -> Result<OidcProviderConfig, AuthError>
pub async fn delete_oidc_provider_config( &self, config_id: &str, ) -> Result<(), AuthError>
pub async fn list_oidc_provider_configs( &self, max_results: Option<u32>, page_token: Option<&str>, ) -> Result<ListOidcProviderConfigsResponse, AuthError>
pub async fn create_saml_provider_config( &self, request: CreateSamlProviderConfigRequest, ) -> Result<SamlProviderConfig, AuthError>
pub async fn get_saml_provider_config( &self, config_id: &str, ) -> Result<SamlProviderConfig, AuthError>
pub async fn update_saml_provider_config( &self, config_id: &str, request: UpdateSamlProviderConfigRequest, ) -> Result<SamlProviderConfig, AuthError>
pub async fn delete_saml_provider_config( &self, config_id: &str, ) -> Result<(), AuthError>
pub async fn list_saml_provider_configs( &self, max_results: Option<u32>, page_token: Option<&str>, ) -> Result<ListSamlProviderConfigsResponse, AuthError>
Trait Implementations§
Source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
Source§fn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
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 moreAuto Trait Implementations§
impl Freeze for ProjectConfig
impl !RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl !UnwindSafe for ProjectConfig
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