Idp

Struct Idp 

Source
#[non_exhaustive]
pub struct Idp {
Show 14 fields pub auth_factors: Option<Vec<AuthFactor>>, pub domain: Option<String>, pub fingerprint: Option<Box<Fingerprint>>, pub has_mfa: Option<bool>, pub issuer: Option<String>, pub name: Option<String>, pub protocol_name: Option<String>, pub scim: Option<Box<Scim>>, pub sso: Option<Box<Sso>>, pub state: Option<String>, pub state_id: Option<i64>, pub tenant_uid: Option<String>, pub uid: Option<String>, pub url_string: Option<String>,
}
Expand description

Identity Provider

The Identity Provider object contains detailed information about a provider responsible for creating, maintaining, and managing identity information while offering authentication services to applications. An Identity Provider (IdP) serves as a trusted authority that verifies the identity of users and issues authentication tokens or assertions to enable secure access to applications or services.

[] Category: | Name: idp

Constraints:

  • at_least_one: [name,uid]

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_factors: Option<Vec<AuthFactor>>

Authentication Factors

The Authentication Factors object describes the different types of Multi-Factor Authentication (MFA) methods and/or devices supported by the Identity Provider.

optional

§domain: Option<String>

Domain

The primary domain associated with the Identity Provider.

optional

§fingerprint: Option<Box<Fingerprint>>

Certificate Fingerprint

The fingerprint of the X.509 certificate used by the Identity Provider.

optional

§has_mfa: Option<bool>

MFA Enforced

The Identity Provider enforces Multi Factor Authentication (MFA).

optional

§issuer: Option<String>

Issuer Details

The unique identifier (often a URL) used by the Identity Provider as its issuer.

optional

§name: Option<String>

Name

The name of the Identity Provider.

recommended

§protocol_name: Option<String>

Supported Protocol

The supported protocol of the Identity Provider. E.g., SAML, OIDC, or OAuth2.

optional

§scim: Option<Box<Scim>>

SCIM

The System for Cross-domain Identity Management (SCIM) resource object provides a structured set of attributes related to SCIM protocols used for identity provisioning and management across cloud-based platforms. It standardizes user and group provisioning details, enabling identity synchronization and lifecycle management with compatible Identity Providers (IdPs) and applications. SCIM is defined in RFC-7634

optional

§sso: Option<Box<Sso>>

SSO

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

optional

§state: Option<String>

State

The configuration state of the Identity Provider, normalized to the caption of the state_id value. In the case of Other, it is defined by the event source.

optional

§state_id: Option<i64>

State ID

The normalized state ID of the Identity Provider to reflect its configuration or activation status.

optional

§tenant_uid: Option<String>

Tenant UID

The tenant ID associated with the Identity Provider.

optional

§uid: Option<String>

Unique ID

The unique identifier of the Identity Provider.

recommended

§url_string: Option<String>

Configuration URL

The URL for accessing the configuration or metadata of the Identity Provider.

optional

Trait Implementations§

Source§

impl Clone for Idp

Source§

fn clone(&self) -> Idp

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 Idp

Source§

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

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

impl Default for Idp

Source§

fn default() -> Idp

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

impl<'de> Deserialize<'de> for Idp
where Idp: 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 Idp

Source§

fn eq(&self, other: &Idp) -> 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 Idp

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 Idp

Auto Trait Implementations§

§

impl Freeze for Idp

§

impl RefUnwindSafe for Idp

§

impl Send for Idp

§

impl Sync for Idp

§

impl Unpin for Idp

§

impl UnwindSafe for Idp

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>,