public void execute()

in uber-core/src/main/java/com/uber/sdk/core/client/internal/LoginPushedAuthorizationRequest.java [59:87]


    public void execute() {
        if (profileHint == null) {
            callback.onSuccess("");
            return;
        }
        JsonAdapter<ProfileHint> profileHintJsonAdapter = moshi.adapter(ProfileHint.class);
        String profileHintString = new String(
                Base64.getEncoder().encode(
                        profileHintJsonAdapter.toJson(profileHint).getBytes(UTF_8)
                )
        );
        oAuth2Service
                .loginParRequest(clientId, responseType, profileHintString)
                .enqueue(new retrofit2.Callback<LoginPARResponse>() {
                    @Override
                    public void onResponse(Call<LoginPARResponse> call, Response<LoginPARResponse> response) {
                        if (response.isSuccessful() && response.body() != null) {
                            callback.onSuccess(response.body().requestUri);
                        } else {
                            onFailure(call, new RuntimeException("bad response"));
                        }
                    }

                    @Override
                    public void onFailure(Call<LoginPARResponse> call, Throwable t) {
                        callback.onError(new LoginPARRequestException(t));
                    }
                });
    }