public interface SignInResultHandler
Modifier and Type | Method and Description |
---|---|
boolean |
onCancel(android.app.Activity callingActivity)
User pressed back from the sign-in Activity.
|
void |
onIntermediateProviderCancel(android.app.Activity callingActivity,
IdentityProvider provider)
User cancelled signing in with a provider on the sign-in activity.
|
void |
onIntermediateProviderError(android.app.Activity callingActivity,
IdentityProvider provider,
java.lang.Exception ex)
User encountered an error when attempting to sign-in with a provider.
|
void |
onSuccess(android.app.Activity callingActivity,
IdentityProvider provider)
Called when the user has obtained an identity by signing in with a provider.
|
void onSuccess(android.app.Activity callingActivity, IdentityProvider provider)
callingActivity
- the calling activity that should be finished.provider
- the provider or null if succeeded with an unauthenticated identity.void onIntermediateProviderCancel(android.app.Activity callingActivity, IdentityProvider provider)
provider
- the provider the user canceled with.void onIntermediateProviderError(android.app.Activity callingActivity, IdentityProvider provider, java.lang.Exception ex)
provider
- the provider the user attempted to sign-in with that encountered an error.ex
- the exception that occurred.boolean onCancel(android.app.Activity callingActivity)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.