Struct rusoto_cognito_idp::IdentityProviderType
source · [−]pub struct IdentityProviderType {
pub attribute_mapping: Option<HashMap<String, String>>,
pub creation_date: Option<f64>,
pub idp_identifiers: Option<Vec<String>>,
pub last_modified_date: Option<f64>,
pub provider_details: Option<HashMap<String, String>>,
pub provider_name: Option<String>,
pub provider_type: Option<String>,
pub user_pool_id: Option<String>,
}
Expand description
A container for information about an identity provider.
Fields
attribute_mapping: Option<HashMap<String, String>>
A mapping of identity provider attributes to standard and custom user pool attributes.
creation_date: Option<f64>
The date the identity provider was created.
idp_identifiers: Option<Vec<String>>
A list of identity provider identifiers.
last_modified_date: Option<f64>
The date the identity provider was last modified.
provider_details: Option<HashMap<String, String>>
The identity provider details. The following list describes the provider detail keys for each identity provider type.
-
For Google and Login with Amazon:
-
clientid
-
clientsecret
-
authorizescopes
-
-
For Facebook:
-
clientid
-
clientsecret
-
authorizescopes
-
apiversion
-
-
For Sign in with Apple:
-
clientid
-
teamid
-
keyid
-
privatekey
-
authorizescopes
-
-
For OIDC providers:
-
clientid
-
clientsecret
-
attributesrequestmethod
-
oidcissuer
-
authorizescopes
-
authorizeurl if not available from discovery URL specified by oidcissuer key
-
tokenurl if not available from discovery URL specified by oidcissuer key
-
attributesurl if not available from discovery URL specified by oidcissuer key
-
jwksuri if not available from discovery URL specified by oidcissuer key
-
-
For SAML providers:
-
MetadataFile OR MetadataURL
-
IDPSignOut optional
-
provider_name: Option<String>
The identity provider name.
provider_type: Option<String>
The identity provider type.
user_pool_id: Option<String>
The user pool ID.
Trait Implementations
sourceimpl Clone for IdentityProviderType
impl Clone for IdentityProviderType
sourcefn clone(&self) -> IdentityProviderType
fn clone(&self) -> IdentityProviderType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IdentityProviderType
impl Debug for IdentityProviderType
sourceimpl Default for IdentityProviderType
impl Default for IdentityProviderType
sourcefn default() -> IdentityProviderType
fn default() -> IdentityProviderType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for IdentityProviderType
impl<'de> Deserialize<'de> for IdentityProviderType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<IdentityProviderType> for IdentityProviderType
impl PartialEq<IdentityProviderType> for IdentityProviderType
sourcefn eq(&self, other: &IdentityProviderType) -> bool
fn eq(&self, other: &IdentityProviderType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IdentityProviderType) -> bool
fn ne(&self, other: &IdentityProviderType) -> bool
This method tests for !=
.
impl StructuralPartialEq for IdentityProviderType
Auto Trait Implementations
impl RefUnwindSafe for IdentityProviderType
impl Send for IdentityProviderType
impl Sync for IdentityProviderType
impl Unpin for IdentityProviderType
impl UnwindSafe for IdentityProviderType
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
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>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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