Android Open Source - uber-java-client Uber Auth Service






From Project

Back to project page uber-java-client.

License

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.

Java Source Code

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);

}




Java Source Code List

com.victorsima.uber.UberAuthService.java
com.victorsima.uber.UberClient.java
com.victorsima.uber.UberService.java
com.victorsima.uber.exception.ForbiddenException.java
com.victorsima.uber.exception.UnauthorizedException.java
com.victorsima.uber.model.AccessToken.java
com.victorsima.uber.model.Price.java
com.victorsima.uber.model.Prices.java
com.victorsima.uber.model.Product.java
com.victorsima.uber.model.Products.java
com.victorsima.uber.model.Time.java
com.victorsima.uber.model.Times.java
com.victorsima.uber.model.UserActivity.java
com.victorsima.uber.model.UserProfile.java