@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoIdentityProvider extends Object implements Serializable, Cloneable, StructuredPojo
A provider representing an Amazon Cognito user pool and its client ID.
Constructor and Description |
---|
CognitoIdentityProvider() |
Modifier and Type | Method and Description |
---|---|
CognitoIdentityProvider |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
The client ID for the Amazon Cognito user pool.
|
String |
getProviderName()
The provider name for an Amazon Cognito user pool.
|
Boolean |
getServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
|
int |
hashCode() |
Boolean |
isServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientId(String clientId)
The client ID for the Amazon Cognito user pool.
|
void |
setProviderName(String providerName)
The provider name for an Amazon Cognito user pool.
|
void |
setServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity provider’s token.
|
String |
toString()
Returns a string representation of this object.
|
CognitoIdentityProvider |
withClientId(String clientId)
The client ID for the Amazon Cognito user pool.
|
CognitoIdentityProvider |
withProviderName(String providerName)
The provider name for an Amazon Cognito user pool.
|
CognitoIdentityProvider |
withServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity provider’s token.
|
public void setProviderName(String providerName)
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
providerName
- The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public String getProviderName()
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 CognitoIdentityProvider withProviderName(String providerName)
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
providerName
- The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public void setClientId(String clientId)
The client ID for the Amazon Cognito user pool.
clientId
- The client ID for the Amazon Cognito user pool.public String getClientId()
The client ID for the Amazon Cognito user pool.
public CognitoIdentityProvider withClientId(String clientId)
The client ID for the Amazon Cognito user pool.
clientId
- The client ID for the Amazon Cognito user pool.public void setServerSideTokenCheck(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.
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.
public Boolean getServerSideTokenCheck()
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 withServerSideTokenCheck(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.
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.
public Boolean isServerSideTokenCheck()
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 String toString()
toString
in class Object
Object.toString()
public CognitoIdentityProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.