com.amazonaws.auth
Interface AWSIdentityProvider

All Known Subinterfaces:
AWSCognitoIdentityProvider
All Known Implementing Classes:
AWSAbstractCognitoDeveloperIdentityProvider, AWSAbstractCognitoIdentityProvider, AWSBasicCognitoIdentityProvider

public interface AWSIdentityProvider

A container of data pertinent to a single provider, and will handle most of the interactions with said provider and the client. Note, this will only implement token and identityId interactions. It should not be used for implementing a custom IdentityProvider. Instead, extend AbstractCognitoIdentityProvider.


Method Summary
 java.lang.String getToken()
          Get the token from the relevant provider
 java.lang.String refresh()
          To be used to call the provider back end to get a token and identityId.
 

Method Detail

getToken

java.lang.String getToken()
Get the token from the relevant provider

Returns:
the token which was retrieved from the provider

refresh

java.lang.String refresh()
To be used to call the provider back end to get a token and identityId. Once that has returned, a call to the superclass' update(String, Token) method should be called

Returns:
token returns the token that was updated in the refresh


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.