Class A3LSignInOptions
java.lang.Object
com.amazon.A3L.authentication.api.signin.A3LSignInOptions
This class Provides replication over GoogleSignInOptions.
A3LSignInOptions contains options used to configure the A3LAuth
The options represent the request information for Authentication
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final A3LSignInOptions
Default configuration for Google Sign In. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionScope[]
Gets an array of all the requested scopes.Method to fetch the requested scopes as a list of strings
-
Field Details
-
DEFAULT_SIGN_IN
Default configuration for Google Sign In. You can get a stable user ID and basic profile info back via GoogleSignInAccount.getId() after you trigger sign in fromA3LSignInClient.getSignInIntent()
. If you require more information for the sign in result, please build a configuration via newA3LSignInOptions.Builder
(A3LSignInOptions.DEFAULT_SIGN_IN)
-
-
Constructor Details
-
A3LSignInOptions
-
-
Method Details
-
getScopeArray
Gets an array of all the requested scopes. If you useDEFAULT_SIGN_IN
, this array will also include those scopes set by default in DEFAULT_SIGN_IN.- Returns:
- Scope[]: Array of requested scopes
-
getScopeStrings
Method to fetch the requested scopes as a list of strings- Returns:
- ArrayList
: list of scope Uri's as strings
-