Back to project page uber-java-client.
The source code is released under:
MIT License
If you think the Android project uber-java-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.victorsima.uber; /* www . j a v a 2s. c o m*/ import com.victorsima.uber.model.AccessToken; import retrofit.Callback; import retrofit.http.POST; import retrofit.http.Query; /** * Created by victorsima on 8/20/14. */ public interface UberAuthService { @POST("/oauth/token") void requestAccessToken(@Query("client_id") String clientId, @Query("client_secret") String clientSecret, @Query("code") String code, @Query("grant_type") String grantType, Callback<AccessToken> callback); }