code: public static Intent makeIntent(Context context, String appKey, String desiredUid, String[] alreadyAuthedUids,
                                      String sessionId, String webHost, String apiType) {
          if (appKey == null) throw new IllegalArgumentException("'appKey' can't be null");
          setAuthParams(appKey, desiredUid, alreadyAuthedUids, sessionId, webHost, apiType);
          return new Intent(context, AuthActivity.class);
      }
docs: Create an intent which can be sent to this activity to start OAuth 2 authentication.
  
  @param context the source context
  @param appKey the consumer key for the app
  @param desiredUid    Encourage user to authenticate account defined by this uid.
  (note that user still can authenticate other accounts).
  May be null if no uid desired.
  @param alreadyAuthedUids Array of any other uids currently authenticated with this app.
  May be null if no uids previously authenticated.
  Authentication screen will encourage user to not authorize these
  user accounts. (note that user may still authorize the accounts).
  @param sessionId     The SESSION_ID Extra on an OpenWith intent. null if dAuth
  is being launched outside of OpenWith flow
  @param webHost the host to use for web authentication, or null for the default
  @param apiType an identifier for the type of API being supported, or null for
  the default
  
  @return a newly created intent.