Class CognitoIdentityProvider
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CognitoIdentityProvider.Builder,CognitoIdentityProvider>
A provider representing an Amazon Cognito user pool and its client ID.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringclientId()The client ID for the Amazon Cognito user pool.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe provider name for an Amazon Cognito user pool.static Class<? extends CognitoIdentityProvider.Builder>final BooleanTRUE if server-side token validation is enabled for the identity provider’s token.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
providerName
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.- Returns:
- The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
-
clientId
The client ID for the Amazon Cognito user pool.
- Returns:
- The client ID for the Amazon Cognito user pool.
-
serverSideTokenCheck
TRUE if server-side token validation is enabled for the identity provider’s token.
Once you set
ServerSideTokenCheckto 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 Amazon Web Services credentials for the user.If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.
- Returns:
- TRUE if server-side token validation is enabled for the identity provider’s token.
Once you set
ServerSideTokenCheckto 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 Amazon Web Services credentials for the user.If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CognitoIdentityProvider.Builder,CognitoIdentityProvider>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-