Sso

Struct Sso 

Source
#[non_exhaustive]
pub struct Sso {
Show 17 fields pub auth_protocol: Option<String>, pub auth_protocol_id: Option<i64>, pub certificate: Option<Box<Certificate>>, pub created_time: Option<i64>, pub created_time_dt: Option<String>, pub duration_mins: Option<i64>, pub idle_timeout: Option<i64>, pub login_endpoint: Option<String>, pub logout_endpoint: Option<String>, pub metadata_endpoint: Option<String>, pub modified_time: Option<i64>, pub modified_time_dt: Option<String>, pub name: Option<String>, pub protocol_name: Option<String>, pub scopes: Option<Vec<String>>, pub uid: Option<String>, pub vendor_name: Option<String>,
}
Expand description

SSO

The Single Sign-On (SSO) object provides a structure for normalizing SSO attributes, configuration, and/or settings from Identity Providers.

[] Category: | Name: sso

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.
§auth_protocol: Option<String>

Auth Protocol

The authorization protocol as defined by the caption of auth_protocol_id. In the case of Other, it is defined by the event source.

optional

§auth_protocol_id: Option<i64>

Auth Protocol ID

The normalized identifier of the authentication protocol used by the SSO resource.

optional

§certificate: Option<Box<Certificate>>

SAML Certificate

Digital Signature associated with the SSO resource, e.g., SAML X.509 certificate details.

recommended

§created_time: Option<i64>

Created Time

When the SSO resource was created.

optional

§created_time_dt: Option<String>

Created Time

When the SSO resource was created.

optional

§duration_mins: Option<i64>

SSO Session Duration

The duration (in minutes) for an SSO session, after which re-authentication is required.

optional

§idle_timeout: Option<i64>

SSO Idle Timeout

Duration (in minutes) of allowed inactivity before Single Sign-On (SSO) session expiration.

optional

§login_endpoint: Option<String>

SSO Login Endpoint

URL for initiating an SSO login request.

optional

§logout_endpoint: Option<String>

SSO Logout Endpoint

URL for initiating an SSO logout request, allowing sessions to be terminated across applications.

optional

§metadata_endpoint: Option<String>

SSO Metadata Endpoint

URL where metadata about the SSO configuration is available (e.g., for SAML configurations).

optional

§modified_time: Option<i64>

Modified Time

The most recent time when the SSO resource was updated.

optional

§modified_time_dt: Option<String>

Modified Time

The most recent time when the SSO resource was updated.

optional

§name: Option<String>

Name

The name of the SSO resource.

recommended

§protocol_name: Option<String>

Supported Protocol

The supported protocol for the SSO resource. E.g., SAML or OIDC.

optional

§scopes: Option<Vec<String>>

Scopes

Scopes define the specific permissions or actions that the client is allowed to perform on behalf of the user. Each scope represents a different set of permissions, and the user can selectively grant or deny access to specific scopes during the authorization process.

optional

§uid: Option<String>

Unique ID

A unique identifier for a SSO resource.

recommended

§vendor_name: Option<String>

Service Provider

Name of the vendor or service provider implementing SSO. E.g., Okta, Auth0, Microsoft.

optional

Trait Implementations§

Source§

impl Clone for Sso

Source§

fn clone(&self) -> Sso

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Sso

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Sso

Source§

fn default() -> Sso

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Sso
where Sso: Default,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Sso

Source§

fn eq(&self, other: &Sso) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Sso

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Sso

Auto Trait Implementations§

§

impl Freeze for Sso

§

impl RefUnwindSafe for Sso

§

impl Send for Sso

§

impl Sync for Sso

§

impl Unpin for Sso

§

impl UnwindSafe for Sso

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,