pub struct SingleSignOnSettings {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl SingleSignOnSettings
impl SingleSignOnSettings
sourcepub async fn get_sso_integrations(
&self,
si: bool
) -> Result<Vec<SsoIntegrationAllOf>>
pub async fn get_sso_integrations(
&self,
si: bool
) -> Result<Vec<SsoIntegrationAllOf>>
Get All SSO Integrations.
This function performs a GET
to the /sso/integrations
endpoint.
This endpoint allows you to retrieve all SSO integrations tied to your Twilio SendGrid account.
The IDs returned by this endpoint can be used by the APIs additional endpoints to modify your SSO integrations.
Parameters:
si: bool
– If this parameter is set totrue
, the response will include thecompleted_integration
field.
sourcepub async fn get_all_sso_integrations(
&self,
si: bool
) -> Result<Vec<SsoIntegrationAllOf>>
pub async fn get_all_sso_integrations(
&self,
si: bool
) -> Result<Vec<SsoIntegrationAllOf>>
Get All SSO Integrations.
This function performs a GET
to the /sso/integrations
endpoint.
As opposed to get_sso_integrations
, this function returns all the pages of the request at once.
This endpoint allows you to retrieve all SSO integrations tied to your Twilio SendGrid account.
The IDs returned by this endpoint can be used by the APIs additional endpoints to modify your SSO integrations.
sourcepub async fn post_sso_integration(
&self,
body: &CreateIntegrationRequest
) -> Result<SsoIntegrationAllOf>
pub async fn post_sso_integration(
&self,
body: &CreateIntegrationRequest
) -> Result<SsoIntegrationAllOf>
Create an SSO Integration.
This function performs a POST
to the /sso/integrations
endpoint.
This endpoint allows you to create an SSO integration.
sourcepub async fn get_sso_integration(
&self,
id: &str,
si: bool
) -> Result<SsoIntegrationAllOf>
pub async fn get_sso_integration(
&self,
id: &str,
si: bool
) -> Result<SsoIntegrationAllOf>
Get an SSO Integration.
This function performs a GET
to the /sso/integrations/{id}
endpoint.
This endpoint allows you to retrieve an SSO integration by ID.
You can retrieve the IDs for your configurations from the response provided by the “Get All SSO Integrations” endpoint.
Parameters:
si: bool
– If this parameter is set totrue
, the response will include thecompleted_integration
field.
sourcepub async fn delete_sso_integrations(&self, id: &str) -> Result<()>
pub async fn delete_sso_integrations(&self, id: &str) -> Result<()>
Delete an SSO Integration.
This function performs a DELETE
to the /sso/integrations/{id}
endpoint.
This endpoint allows you to delete an IdP configuration by ID.
You can retrieve the IDs for your configurations from the response provided by the “Get All SSO Integrations” endpoint.
sourcepub async fn patch_sso_integrations(
&self,
id: &str,
si: bool,
body: &CreateIntegrationRequest
) -> Result<SsoIntegrationAllOf>
pub async fn patch_sso_integrations(
&self,
id: &str,
si: bool,
body: &CreateIntegrationRequest
) -> Result<SsoIntegrationAllOf>
Update an SSO Integration.
This function performs a PATCH
to the /sso/integrations/{id}
endpoint.
This endpoint allows you to modify an exisiting SSO integration.
You can retrieve the IDs for your configurations from the response provided by the “Get All SSO Integrations” endpoint.
Parameters:
si: bool
– If this parameter is set totrue
, the response will include thecompleted_integration
field.
Auto Trait Implementations
impl !RefUnwindSafe for SingleSignOnSettings
impl Send for SingleSignOnSettings
impl Sync for SingleSignOnSettings
impl Unpin for SingleSignOnSettings
impl !UnwindSafe for SingleSignOnSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more