core-android/src/main/java/com/uber/sdk/android/core/auth/LoginManager.java
public void login(@NonNull Activity activity) {
        checkNotEmpty(sessionConfiguration.getScopes(), "Scopes must be set in the Session " +
                "Configuration.");

        SsoDeeplink ssoDeeplink = new SsoDeeplink.Builder(activity)
                .clientId(sessionConfiguration.getClientId())
                .scopes(sessionConfiguration.getScopes())
                .customScopes(sessionConfiguration.getCustomScopes())
                .activityRequestCode(requestCode)
                .build();

        if (ssoDeeplink.isSupported()) {
            ssoDeeplink.execute();
        } else if (!AuthUtils.isPrivilegeScopeRequired(sessionConfiguration.getScopes())) {
            loginForImplicitGrant(activity);
        } else if (redirectForAuthorizationCode) {
            loginForAuthorizationCode(activity);
        } else {
            redirectToInstallApp(activity);
        }
    }
/**
     * Logs a user in, requesting approval for specified {@link Scope}s.
     *
     * @param activity the activity used to start the {@link LoginActivity}.
     */
Logs a user in, requesting approval for specified  Scopes.
@param activity the activity used to start the  LoginActivity.
Logs a user in requesting approval for specified Scopes . @param activity the activity used to start the LoginActivity .
public void login(@NonNull Activity activity) {
        checkNotEmpty(sessionConfiguration.getScopes(), "Scopes must be set in the Session " +
                "Configuration.");
        SsoDeeplink ssoDeeplink = new SsoDeeplink.Builder(activity)
                .clientId(sessionConfiguration.getClientId())
                .scopes(sessionConfiguration.getScopes())
                .customScopes(sessionConfiguration.getCustomScopes())
                .activityRequestCode(requestCode)
                .build();
        if (ssoDeeplink.isSupported()) {
            ssoDeeplink.execute();
        } else if (!AuthUtils.isPrivilegeScopeRequired(sessionConfiguration.getScopes())) {
            loginForImplicitGrant(activity);
        } else if (redirectForAuthorizationCode) {
            loginForAuthorizationCode(activity);
        } else {
            redirectToInstallApp(activity);
        }
    }
public void login ( @ NonNull Activity activity ) { checkNotEmpty ( sessionConfiguration . getScopes ( ) , "Scopes must be set in the Session " + "Configuration." ) ; SsoDeeplink ssoDeeplink = new SsoDeeplink . Builder ( activity ) . clientId ( sessionConfiguration . getClientId ( ) ) . scopes ( sessionConfiguration . getScopes ( ) ) . customScopes ( sessionConfiguration . getCustomScopes ( ) ) . activityRequestCode ( requestCode ) . build ( ) ; if ( ssoDeeplink . isSupported ( ) ) { ssoDeeplink . execute ( ) ; } else if ( ! AuthUtils . isPrivilegeScopeRequired ( sessionConfiguration . getScopes ( ) ) ) { loginForImplicitGrant ( activity ) ; } else if ( redirectForAuthorizationCode ) { loginForAuthorizationCode ( activity ) ; } else { redirectToInstallApp ( activity ) ; } }
Logs a user in, requesting approval for specified {@link Scope}s.
 @param activity the activity used to start the {@link LoginActivity}.
Logs a user in requesting approval for specified { @link Scope } s . @param activity the activity used to start the { @link LoginActivity } .