Class A3LSignInOptions
- java.lang.Object
-
- com.amazon.A3L.authentication.api.signin.A3LSignInOptions
-
public class A3LSignInOptions extends java.lang.Object
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 Modifier and Type Class Description static class
A3LSignInOptions.Builder
Builder forA3LSignInOptions
.
-
Field Summary
Fields Modifier and Type Field Description static A3LSignInOptions
DEFAULT_SIGN_IN
Default configuration for Google Sign In.
-
Constructor Summary
Constructors Constructor Description A3LSignInOptions(A3LSignInOptions.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scope[]
getScopeArray()
Gets an array of all the requested scopes.java.util.ArrayList<java.lang.String>
getScopeStrings()
Method to fetch the requested scopes as a list of strings
-
-
-
Field Detail
-
DEFAULT_SIGN_IN
public static final A3LSignInOptions 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 Detail
-
A3LSignInOptions
public A3LSignInOptions(A3LSignInOptions.Builder builder)
-
-
Method Detail
-
getScopeArray
public Scope[] 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
public java.util.ArrayList<java.lang.String> getScopeStrings()
Method to fetch the requested scopes as a list of strings- Returns:
- ArrayList
: list of scope Uri's as strings
-
-