public class CognitoIdentityProvider extends Object implements Serializable
A provider representing an Amazon Cognito user pool and its client ID.
| Constructor and Description |
|---|
CognitoIdentityProvider() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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; useful for testing and
debugging.
|
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 String getProviderName()
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
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.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
providerName -
The provider name for an Amazon Cognito user pool. For
example,
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
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 getClientId()
The client ID for the Amazon Cognito user pool.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
The client ID for the Amazon Cognito user pool.
public void setClientId(String clientId)
The client ID for the Amazon Cognito user pool.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
clientId - The client ID for the Amazon Cognito user pool.
public CognitoIdentityProvider withClientId(String clientId)
The client ID for the Amazon Cognito user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
clientId - The client ID for the Amazon Cognito user pool.
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.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.