Class A3LSignInOptions

java.lang.Object
com.amazon.A3L.authentication.api.signin.A3LSignInOptions

public class A3LSignInOptions extends Object
This class Provides replication over GoogleSignInOptions. A3LSignInOptions contains options used to configure the A3LAuth The options represent the request information for Authentication
  • Field Details

    • 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 from A3LSignInClient.getSignInIntent(). If you require more information for the sign in result, please build a configuration via new A3LSignInOptions.Builder(A3LSignInOptions.DEFAULT_SIGN_IN)
  • Constructor Details

  • Method Details

    • getScopeArray

      public Scope[] getScopeArray()
      Gets an array of all the requested scopes. If you use DEFAULT_SIGN_IN, this array will also include those scopes set by default in DEFAULT_SIGN_IN.
      Returns:
      Scope[]: Array of requested scopes
    • getScopeStrings

      public ArrayList<String> getScopeStrings()
      Method to fetch the requested scopes as a list of strings
      Returns:
      ArrayList: list of scope Uri's as strings