pub struct CloudSsoHandler { /* private fields */ }
Expand description
Handler for Cloud SSO/SAML operations
Implementations§
Source§impl CloudSsoHandler
impl CloudSsoHandler
pub fn new(client: CloudClient) -> Self
Sourcepub async fn update_saml(&self, request: Value) -> Result<Value>
pub async fn update_saml(&self, request: Value) -> Result<Value>
Update SAML configuration
Sourcepub async fn get_saml_metadata(&self) -> Result<Value>
pub async fn get_saml_metadata(&self) -> Result<Value>
Get SAML metadata
Sourcepub async fn upload_saml_cert(&self, request: Value) -> Result<Value>
pub async fn upload_saml_cert(&self, request: Value) -> Result<Value>
Upload SAML certificate
Sourcepub async fn list_users(&self) -> Result<Value>
pub async fn list_users(&self) -> Result<Value>
Get SSO users
Sourcepub async fn create_user_mapping(&self, request: Value) -> Result<Value>
pub async fn create_user_mapping(&self, request: Value) -> Result<Value>
Create SSO user mapping
Sourcepub async fn update_user_mapping(
&self,
user_id: u32,
request: Value,
) -> Result<Value>
pub async fn update_user_mapping( &self, user_id: u32, request: Value, ) -> Result<Value>
Update SSO user mapping
Sourcepub async fn delete_user_mapping(&self, user_id: u32) -> Result<Value>
pub async fn delete_user_mapping(&self, user_id: u32) -> Result<Value>
Delete SSO user mapping
Sourcepub async fn list_groups(&self) -> Result<Value>
pub async fn list_groups(&self) -> Result<Value>
Get SSO groups
Sourcepub async fn update_group_mapping(
&self,
group_id: u32,
request: Value,
) -> Result<Value>
pub async fn update_group_mapping( &self, group_id: u32, request: Value, ) -> Result<Value>
Update SSO group mapping
Sourcepub async fn delete_group_mapping(&self, group_id: u32) -> Result<Value>
pub async fn delete_group_mapping(&self, group_id: u32) -> Result<Value>
Delete SSO group mapping
Auto Trait Implementations§
impl Freeze for CloudSsoHandler
impl !RefUnwindSafe for CloudSsoHandler
impl Send for CloudSsoHandler
impl Sync for CloudSsoHandler
impl Unpin for CloudSsoHandler
impl !UnwindSafe for CloudSsoHandler
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