public interface IdentityProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCognitoLoginKey() |
java.lang.String |
getDisplayName() |
java.lang.String |
getToken()
Call getToken to retrieve the access token from successful sign-in with this provider.
|
void |
initialize(android.content.Context context,
AWSConfiguration configuration)
Method called upon constructing an identity provider for it to handle its initialization.
|
java.lang.String |
refreshToken()
Refreshes the token if it has expired.
|
boolean |
refreshUserSignInState()
Refreshes the state of whether the user is signed-in and returns the updated state.
|
void |
signOut()
Call signOut to sign out of this provider.
|
void initialize(android.content.Context context, AWSConfiguration configuration)
context
- the context.configuration
- the configuration.java.lang.String getDisplayName()
java.lang.String getCognitoLoginKey()
boolean refreshUserSignInState()
java.lang.String getToken()
java.lang.String refreshToken()
void signOut()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.