|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AWSCognitoIdentityProvider
A container of data pertinent to a single provider, and will handle most of the interactions with said provider and the client. This includes some more logic for custom identity providers, but shouldn't be implemented to do so. It is utilized by the AWSAbstractCognitoIdentityProvider, which is what should be extended to do so.
Method Summary | |
---|---|
void |
clearListeners()
To be used to empty all registered listeners from the identity provider |
java.util.Map<java.lang.String,java.lang.String> |
getLogins()
Get the logins from the provider |
void |
identityChanged(java.lang.String newIdentity)
Handles the updating of the identityId locally once it has been changed for one reason or another |
java.lang.String |
refresh()
To be used to call the provider back end to get a token and identityId. |
void |
registerIdentityChangedListener(IdentityChangedListener listener)
Handles the new version of an identity changed listener to be handled by the provider |
void |
setLogins(java.util.Map<java.lang.String,java.lang.String> loginsMap)
Pass the logins to the provider |
void |
unregisterIdentityChangedListener(IdentityChangedListener listener)
Handles the removing of a version of an identity changed listener from the list with the provider |
Methods inherited from interface com.amazonaws.auth.AWSIdentityProvider |
---|
getIdentityId, getToken |
Method Detail |
---|
void setLogins(java.util.Map<java.lang.String,java.lang.String> loginsMap)
loginsMap
- the logins mapjava.util.Map<java.lang.String,java.lang.String> getLogins()
void registerIdentityChangedListener(IdentityChangedListener listener)
listener
- the new listener to be registeredvoid unregisterIdentityChangedListener(IdentityChangedListener listener)
listener
- the listener to be removedvoid identityChanged(java.lang.String newIdentity)
newIdentity
- the new identityId for the userjava.lang.String refresh()
void clearListeners()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |