static OAuth2Service createOAuthService()

in uber-core/src/main/java/com/uber/sdk/core/auth/AccessTokenAuthenticator.java [137:145]


    static OAuth2Service createOAuthService(String baseUrl) {
        final Moshi moshi = new Moshi.Builder().add(new OAuthScopesAdapter()).build();

        return new Retrofit.Builder()
                .baseUrl(baseUrl)
                .addConverterFactory(MoshiConverterFactory.create(moshi))
                .build()
                .create(OAuth2Service.class);
    }