Struct aws_sdk_cognitoidentity::model::CognitoIdentityProvider [−][src]
#[non_exhaustive]pub struct CognitoIdentityProvider {
pub provider_name: Option<String>,
pub client_id: Option<String>,
pub server_side_token_check: Option<bool>,
}Expand description
A provider representing an Amazon Cognito user pool and its client ID.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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.
client_id: Option<String>The client ID for the Amazon Cognito user pool.
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.
Implementations
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
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.
Creates a new builder-style object to manufacture CognitoIdentityProvider
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CognitoIdentityProvider
impl Send for CognitoIdentityProvider
impl Sync for CognitoIdentityProvider
impl Unpin for CognitoIdentityProvider
impl UnwindSafe for CognitoIdentityProvider
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more