Skip navigation links
A B C D E F G H I L O P R S T W 

A

addSignInProvider(Class<? extends SignInProvider>) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Add a supported identity provider to your app.
addSignInStateChangeListener(SignInStateChangeListener) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Add a listener to receive callbacks when sign-in or sign-out occur.
areCredentialsExpired() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Check if the credentials are expired.
attr() - Constructor for class com.amazonaws.mobile.auth.core.R.attr
 
AuthException - Exception in com.amazonaws.mobile.auth.core.signin
Base class for exceptions that occur during auth
AuthException(IdentityProvider, Exception) - Constructor for exception com.amazonaws.mobile.auth.core.signin.AuthException
Constructor.
AuthException(Exception) - Constructor for exception com.amazonaws.mobile.auth.core.signin.AuthException
Constructor.

B

bitmap - Variable in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Bitmap for the icon.
BuildConfig - Class in com.amazonaws.mobile.auth.core
 
BuildConfig() - Constructor for class com.amazonaws.mobile.auth.core.BuildConfig
 
button_style - Static variable in class com.amazonaws.mobile.auth.core.R.attr
Must be one of the following constant values.

C

CognitoAuthException - Exception in com.amazonaws.mobile.auth.core.signin
Thrown when there is an error obtaining a Cognito identity using an identity provider's token during the start-up authentication flow or when signing in with a provider.
CognitoAuthException(IdentityProvider, Exception) - Constructor for exception com.amazonaws.mobile.auth.core.signin.CognitoAuthException
Constructor.
com.amazonaws.mobile.auth.core - package com.amazonaws.mobile.auth.core
 
com.amazonaws.mobile.auth.core.signin - package com.amazonaws.mobile.auth.core.signin
 
com.amazonaws.mobile.auth.core.signin.ui - package com.amazonaws.mobile.auth.core.signin.ui
 
com.amazonaws.mobile.auth.core.signin.ui.buttons - package com.amazonaws.mobile.auth.core.signin.ui.buttons
 

D

DEBUG - Static variable in class com.amazonaws.mobile.auth.core.BuildConfig
 
DefaultSignInResultHandler - Class in com.amazonaws.mobile.auth.core
A default base class easing the work required for implementing the SignInResultHandler for IdentityManager#signInOrSignUp(Context, SignInResultHandler) by providing default behavior in the case that the user cancels signing in or encounters an error.
DefaultSignInResultHandler() - Constructor for class com.amazonaws.mobile.auth.core.DefaultSignInResultHandler
 
didErrorOccurObtainingUnauthenticatedIdentity() - Method in class com.amazonaws.mobile.auth.core.StartupAuthErrorDetails
 
didErrorOccurRefreshingProvider() - Method in class com.amazonaws.mobile.auth.core.StartupAuthErrorDetails
 
DisplayUtils - Class in com.amazonaws.mobile.auth.core.signin.ui
A class containing UI Utility methods.
DisplayUtils() - Constructor for class com.amazonaws.mobile.auth.core.signin.ui.DisplayUtils
 
dispose() - Static method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Dispose the SignInManager
doStartupAuth(Activity, StartupAuthResultHandler, long) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
This should be called from your app's splash activity upon start-up.
doStartupAuth(Activity, StartupAuthResultHandler) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
This should be called from your app's splash activity upon start-up.
dp(int) - Static method in class com.amazonaws.mobile.auth.core.signin.ui.DisplayUtils
 
draw(Canvas) - Method in class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 

E

expireSignInTimeout() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Call this to ignore waiting for the remaining timeout delay.

F

federateWithProvider(IdentityProvider) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Login with an identity provider (ie.

G

getBackgroundColor() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getBackgroundColorPressed() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getBottomShadowColor() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getBottomShadowThickness() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getCachedUserID() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Gets the cached unique identifier for the user.
getCognitoLoginKey() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
 
getConfiguration() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Retrieve the AWSConfiguration object
getCornerRadius() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getCredentialsProvider() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Retrieve the reference to AWSCredentialsProvider object.
getCurrentIdentityProvider() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Gets the current provider.
getDefaultIdentityManager() - Static method in class com.amazonaws.mobile.auth.core.IdentityManager
Return the default IdentityManager
getDefaultTextResourceId() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getDisplayName() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
 
getErrorDetails() - Method in class com.amazonaws.mobile.auth.core.StartupAuthResult
 
getIdentityManager() - Method in class com.amazonaws.mobile.auth.core.StartupAuthResult
 
getImageIconResourceId() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getInstance() - Static method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Gets the singleton instance of this class.
getInstance(Context) - Static method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Gets the singleton instance of this class.
getOpacity() - Method in class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
getPermissionRequestCode() - Method in interface com.amazonaws.mobile.auth.core.signin.SignInPermissionsHandler
 
getPreviouslySignedInProvider() - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Call getPreviouslySignedInProvider to determine if the user was left signed-in when the app was last running.
getProvider() - Method in exception com.amazonaws.mobile.auth.core.signin.AuthException
 
getProviderRefreshException() - Method in class com.amazonaws.mobile.auth.core.StartupAuthErrorDetails
 
getResultHandler() - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Retrieve the reference to SignInResultHandler
getResultsAdapter() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Call getResultsAdapter to get the IdentityManager's handler that adapts results before sending them back to the handler set by IdentityManager.setProviderResultsHandler(SignInProviderResultHandler)
getRoundedRectangleBackground(int, int) - Static method in class com.amazonaws.mobile.auth.core.signin.ui.DisplayUtils
 
getRoundedRectangleShape(int) - Static method in class com.amazonaws.mobile.auth.core.signin.ui.DisplayUtils
Create a rounded rectangle with a specified corner radius.
getSignInProviderClasses() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Gets the list of SignInProvider classes
getTextColor() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getToken() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
Call getToken to retrieve the access token from successful sign-in with this provider.
getTopShadowColor() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getTopShadowThickness() - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
getUnauthenticatedErrorException() - Method in class com.amazonaws.mobile.auth.core.StartupAuthErrorDetails
 
getUnderlyingProvider() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Retrieve the reference to CognitoCachingCredentialsProvider object.
getUserID(IdentityHandler) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Gets the user's unique identifier.

H

handleActivityResult(int, int, Intent) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Handle the Activity result for login providers.
handleActivityResult(int, int, Intent) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProvider
Call handleActivityResult to handle the activity result.
handleError(Exception) - Method in interface com.amazonaws.mobile.auth.core.IdentityHandler
Handles any error that might have occurred while getting the user's unique identifier from Amazon Cognito.
handleRequestPermissionsResult(int, String[], int[]) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Handle the Activity request permissions result for sign-in providers.
handleRequestPermissionsResult(int, String[], int[]) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInPermissionsHandler
Handler for permissions results.

I

id() - Constructor for class com.amazonaws.mobile.auth.core.R.id
 
IdentityHandler - Interface in com.amazonaws.mobile.auth.core
Allows the application to get an asynchronous response with user's unique identifier.
IdentityManager - Class in com.amazonaws.mobile.auth.core
The identity manager keeps track of the current sign-in provider and is responsible for caching credentials.
IdentityManager(Context, AWSConfiguration) - Constructor for class com.amazonaws.mobile.auth.core.IdentityManager
Constructor.
IdentityManager(Context, AWSConfiguration, ClientConfiguration) - Constructor for class com.amazonaws.mobile.auth.core.IdentityManager
Constructor.
IdentityManager(Context, CognitoCachingCredentialsProvider, ClientConfiguration) - Constructor for class com.amazonaws.mobile.auth.core.IdentityManager
Constructor.
IdentityProvider - Interface in com.amazonaws.mobile.auth.core
Interface sign-in provider's supported by the IdentityManager must implement.
imageView - Variable in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Image View for displaying the Icon.
initialize(Context, AWSConfiguration) - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
Method called upon constructing an identity provider for it to handle its initialization.
initializeSignInButton(Class<? extends SignInProvider>, View) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Call initializeSignInButton to initialize the logic for sign-in for a specific provider.
initializeSignInButton(Activity, View, SignInProviderResultHandler) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProvider
Initialize the sign-in button for the sign-in activity.
isRequestCodeOurs(int) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProvider
Call isRequestCodeOurs to determine if this provider should handle an activity result.
isSmallStyle - Variable in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Boolean to keep track of whether the button should only display the image and no text.
isUserAnonymous() - Method in class com.amazonaws.mobile.auth.core.StartupAuthResult
 
isUserSignedIn() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Check if user is signed in.
isUserSignedIn() - Method in class com.amazonaws.mobile.auth.core.StartupAuthResult
return true if signed in with an identity provider, otherwise false if signed in as an unauthenticated (guest) identity or not signed in at all.

L

large - Static variable in class com.amazonaws.mobile.auth.core.R.id
 

O

onCancel(IdentityProvider) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProviderResultHandler
Sign-in was cancelled by the user.
onCancel(Activity) - Method in interface com.amazonaws.mobile.auth.core.SignInResultHandler
User pressed back from the sign-in Activity.
onComplete(StartupAuthResult) - Method in interface com.amazonaws.mobile.auth.core.StartupAuthResultHandler
Called when the startup auth flow is complete.
onError(IdentityProvider, Exception) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProviderResultHandler
Sign-in failed.
onIdentityId(String) - Method in interface com.amazonaws.mobile.auth.core.IdentityHandler
Handles the user's unique identifier.
onIntermediateProviderCancel(Activity, IdentityProvider) - Method in class com.amazonaws.mobile.auth.core.DefaultSignInResultHandler
User cancelled signing in with a provider on the sign-in activity.
onIntermediateProviderCancel(Activity, IdentityProvider) - Method in interface com.amazonaws.mobile.auth.core.SignInResultHandler
User cancelled signing in with a provider on the sign-in activity.
onIntermediateProviderError(Activity, IdentityProvider, Exception) - Method in class com.amazonaws.mobile.auth.core.DefaultSignInResultHandler
User encountered an error when attempting to sign-in with a provider.
onIntermediateProviderError(Activity, IdentityProvider, Exception) - Method in interface com.amazonaws.mobile.auth.core.SignInResultHandler
User encountered an error when attempting to sign-in with a provider.
onMeasure(int, int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
 
onSizeChanged(int, int, int, int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
 
onSuccess(IdentityProvider) - Method in interface com.amazonaws.mobile.auth.core.signin.SignInProviderResultHandler
Sign-in was successful.
onSuccess(Activity, IdentityProvider) - Method in interface com.amazonaws.mobile.auth.core.SignInResultHandler
Called when the user has obtained an identity by signing in with a provider.
onUserSignedIn() - Method in interface com.amazonaws.mobile.auth.core.SignInStateChangeListener
Invoked when the user completes sign-in.
onUserSignedOut() - Method in interface com.amazonaws.mobile.auth.core.SignInStateChangeListener
Invoked when the user signs out.

P

provider - Variable in exception com.amazonaws.mobile.auth.core.signin.AuthException
 
ProviderAuthException - Exception in com.amazonaws.mobile.auth.core.signin
Thrown when there is an error with a provider during the start-up authentication flow or when signing in with a provider.
ProviderAuthException(IdentityProvider, Exception) - Constructor for exception com.amazonaws.mobile.auth.core.signin.ProviderAuthException
Constructor.

R

R - Class in com.amazonaws.mobile.auth.core
 
R() - Constructor for class com.amazonaws.mobile.auth.core.R
 
R.attr - Class in com.amazonaws.mobile.auth.core
 
R.id - Class in com.amazonaws.mobile.auth.core
 
R.string - Class in com.amazonaws.mobile.auth.core
 
R.styleable - Class in com.amazonaws.mobile.auth.core
 
refreshCredentialsWithProvider(Activity, IdentityProvider, SignInProviderResultHandler) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Refresh Cognito credentials with a provider.
refreshToken() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
Refreshes the token if it has expired.
refreshUserSignInState() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
Refreshes the state of whether the user is signed-in and returns the updated state.
removeSignInStateChangeListener(SignInStateChangeListener) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Remove a listener from receiving callbacks when sign-in or sign-out occur.

S

setAlpha(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
setButtonText(String) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Set the button text.
setButtonText(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Set the button text from a resource.
setColorFilter(ColorFilter) - Method in class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
setDefaultIdentityManager(IdentityManager) - Static method in class com.amazonaws.mobile.auth.core.IdentityManager
Set the IdentityManager object created as the default
setProviderResultsHandler(SignInProviderResultHandler) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Set the results handler that will be used for results when calling federateWithProvider.
setProviderResultsHandler(Activity, SignInProviderResultHandler) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Sets the results handler results from sign-in with a provider.
setResultHandler(SignInResultHandler) - Method in class com.amazonaws.mobile.auth.core.signin.SignInManager
Set the passed in SignInResultHandler
setSmallStyle(boolean) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Sets the button style to small, where only the icon will be shown.
setSplitPointDistanceFromTop(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
setUpToAuthenticate(Context, SignInResultHandler) - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Call setUpToAuthenticate to initiate sign-in with a provider.
sign_in_canceled_message_format - Static variable in class com.amazonaws.mobile.auth.core.R.string
 
sign_in_failure_dialog_title - Static variable in class com.amazonaws.mobile.auth.core.R.string
 
sign_in_failure_message_format - Static variable in class com.amazonaws.mobile.auth.core.R.string
 
SignInButton - Static variable in class com.amazonaws.mobile.auth.core.R.styleable
Attributes that can be used with a SignInButton.
SignInButton - Class in com.amazonaws.mobile.auth.core.signin.ui.buttons
Base class for Sign in Buttons
SignInButton(Context, AttributeSet, int, SignInButtonAttributes) - Constructor for class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
 
SignInButton_button_style - Static variable in class com.amazonaws.mobile.auth.core.R.styleable
This symbol is the offset where the R.attr.button_style attribute's value can be found in the R.styleable.SignInButton array.
SignInButton_text - Static variable in class com.amazonaws.mobile.auth.core.R.styleable
This symbol is the offset where the R.attr.text attribute's value can be found in the R.styleable.SignInButton array.
SignInButtonAttributes - Class in com.amazonaws.mobile.auth.core.signin.ui.buttons
Sign-in Button Attributes
SignInButtonAttributes() - Constructor for class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
SignInManager - Class in com.amazonaws.mobile.auth.core.signin
The SignInManager is a singleton component, which orchestrates sign-in and sign-up flows.
SignInPermissionsHandler - Interface in com.amazonaws.mobile.auth.core.signin
Interface for handling permissions
SignInProvider - Interface in com.amazonaws.mobile.auth.core.signin
Each sign-in provider implements this interface, in order to do sign-in button initialization and to handle activity results that have been passed back to the app, after a sign-in provider window has been dismissed.
SignInProviderResultHandler - Interface in com.amazonaws.mobile.auth.core.signin
Implement this interface to get callbacks for the results to a sign-in operation.
SignInResultHandler - Interface in com.amazonaws.mobile.auth.core
Interface for handling results from calling IdentityManager's signInOrSignUp().
SignInStateChangeListener - Interface in com.amazonaws.mobile.auth.core
Implement this interface to receive callbacks when the user's sign-in state changes from signed-in to not signed-in or vice versa.
signOut() - Method in class com.amazonaws.mobile.auth.core.IdentityManager
Sign out of the current identity provider, and clear Cognito credentials.
signOut() - Method in interface com.amazonaws.mobile.auth.core.IdentityProvider
Call signOut to sign out of this provider.
small - Static variable in class com.amazonaws.mobile.auth.core.R.id
 
SplitBackgroundDrawable - Class in com.amazonaws.mobile.auth.core.signin.ui
Provides drawable for a vertically split background.
SplitBackgroundDrawable(int) - Constructor for class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
SplitBackgroundDrawable(int, int) - Constructor for class com.amazonaws.mobile.auth.core.signin.ui.SplitBackgroundDrawable
 
StartupAuthErrorDetails - Class in com.amazonaws.mobile.auth.core
Encapsulates errors that may have happened during doStartupAuth().
StartupAuthErrorDetails(AuthException, Exception) - Constructor for class com.amazonaws.mobile.auth.core.StartupAuthErrorDetails
 
StartupAuthResult - Class in com.amazonaws.mobile.auth.core
The result for IdentityManager's doStartupAuth().
StartupAuthResult(IdentityManager, StartupAuthErrorDetails) - Constructor for class com.amazonaws.mobile.auth.core.StartupAuthResult
 
StartupAuthResultHandler - Interface in com.amazonaws.mobile.auth.core
Interface for calling IdentityManager's doStartupAuth().
string() - Constructor for class com.amazonaws.mobile.auth.core.R.string
 
styleable() - Constructor for class com.amazonaws.mobile.auth.core.R.styleable
 

T

text - Static variable in class com.amazonaws.mobile.auth.core.R.attr
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
textView - Variable in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButton
Text View for displaying the text

W

withBackgroundColor(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withBackgroundColorPressed(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withBottomShadowColor(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withBottomShadowThickness(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withCornerRadius(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withDefaultTextResourceId(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withImageIconResourceId(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withTextColor(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withTopShadowColor(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
withTopShadowThickness(int) - Method in class com.amazonaws.mobile.auth.core.signin.ui.buttons.SignInButtonAttributes
 
A B C D E F G H I L O P R S T W 
Skip navigation links

Copyright © 2017. All rights reserved.