|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.auth.AWSAbstractCognitoIdentityProvider
com.amazonaws.auth.AWSEnhancedCognitoIdentityProvider
public final class AWSEnhancedCognitoIdentityProvider
An extension of the AbstractCognitoProvider that is used to communicate with Cognito when using the enhanced authentication flow. All other functionality is the same as that of AbstractCognitoIdentityProvider.
Constructor Summary | |
---|---|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito. |
|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
AmazonCognitoIdentity cibClient)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito. |
|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito. |
Method Summary | |
---|---|
java.lang.String |
getProviderName()
Gets a string with the name of the provider being used. |
java.lang.String |
refresh()
To be used to call the provider back end to get a token and identityId. |
Methods inherited from class com.amazonaws.auth.AWSAbstractCognitoIdentityProvider |
---|
clearListeners, getAccountId, getIdentityId, getIdentityPoolId, getLogins, getToken, identityChanged, isAuthenticated, registerIdentityChangedListener, setLogins, unregisterIdentityChangedListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AWSEnhancedCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId)
accountId
- the account id of the developeridentityPoolId
- the identity pool id of the app/user in questionpublic AWSEnhancedCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, ClientConfiguration clientConfiguration)
accountId
- the account id of the developeridentityPoolId
- the identity pool id of the app/user in questionclientConfiguration
- the configuration to apply to service clients
createdpublic AWSEnhancedCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, AmazonCognitoIdentity cibClient)
accountId
- the account id of the developeridentityPoolId
- the identity pool id of the app/user in questioncibClient
- the cib client which will be used to contact the cib
back endMethod Detail |
---|
public java.lang.String getProviderName()
AWSAbstractCognitoIdentityProvider
getProviderName
in class AWSAbstractCognitoIdentityProvider
public java.lang.String refresh()
AWSIdentityProvider
refresh
in interface AWSIdentityProvider
refresh
in class AWSAbstractCognitoIdentityProvider
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |