[][src]Struct rusoto_cognito_identity::CognitoIdentityProvider

pub struct CognitoIdentityProvider {
    pub client_id: Option<String>,
    pub provider_name: Option<String>,
    pub server_side_token_check: Option<bool>,
}

A provider representing an Amazon Cognito user pool and its client ID.

Fields

client_id: Option<String>

The client ID for the Amazon Cognito user pool.

provider_name: Option<String>

The provider name for an Amazon Cognito user pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

server_side_token_check: Option<bool>

TRUE if server-side token validation is enabled for the identity provider’s token.

Once you set ServerSideTokenCheck to TRUE for an identity pool, that identity pool will check with the integrated user pools to make sure that the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.

If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.

Trait Implementations

impl PartialEq<CognitoIdentityProvider> for CognitoIdentityProvider[src]

impl Default for CognitoIdentityProvider[src]

impl Clone for CognitoIdentityProvider[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CognitoIdentityProvider[src]

impl Serialize for CognitoIdentityProvider[src]

impl<'de> Deserialize<'de> for CognitoIdentityProvider[src]

Auto Trait Implementations

impl Send for CognitoIdentityProvider

impl Sync for CognitoIdentityProvider

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self