@Generated(value="software.amazon.awssdk:codegen") public final class CognitoIdentityProvider extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CognitoIdentityProvider.Builder,CognitoIdentityProvider>
A provider representing an Amazon Cognito user pool and its client ID.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CognitoIdentityProvider.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CognitoIdentityProvider.Builder |
builder() |
String |
clientId()
The client ID for the Amazon Cognito user pool.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
providerName()
The provider name for an Amazon Cognito user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CognitoIdentityProvider.Builder> |
serializableBuilderClass() |
Boolean |
serverSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
|
CognitoIdentityProvider.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String providerName()
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.public final String clientId()
The client ID for the Amazon Cognito user pool.
public final Boolean serverSideTokenCheck()
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.
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.
public CognitoIdentityProvider.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CognitoIdentityProvider.Builder,CognitoIdentityProvider>public static CognitoIdentityProvider.Builder builder()
public static Class<? extends CognitoIdentityProvider.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.