public interface SignInProvider extends IdentityProvider
Modifier and Type | Method and Description |
---|---|
void |
handleActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
Call handleActivityResult to handle the activity result.
|
android.view.View.OnClickListener |
initializeSignInButton(android.app.Activity signInActivity,
android.view.View buttonView,
SignInProviderResultHandler resultsHandler)
Initialize the sign-in button for the sign-in activity.
|
boolean |
isRequestCodeOurs(int requestCode)
Call isRequestCodeOurs to determine if this provider should handle an activity result.
|
getCognitoLoginKey, getDisplayName, getToken, initialize, refreshToken, refreshUserSignInState, signOut
boolean isRequestCodeOurs(int requestCode)
requestCode
- the requestCode from a previous call to onActivityResult.void handleActivityResult(int requestCode, int resultCode, android.content.Intent data)
requestCode
- the request code.resultCode
- the result code.data
- the result intent.android.view.View.OnClickListener initializeSignInButton(android.app.Activity signInActivity, android.view.View buttonView, SignInProviderResultHandler resultsHandler)
signInActivity
- the activity for sign-in.buttonView
- the view for the sign-in button to initialize.resultsHandler
- the resultsHandler for provider sign-in.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.