Back to project page android-test-demo.
The source code is released under:
MIT License
If you think the Android project android-test-demo 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 org.andydyer.androidtestdemo.api; // ww w.ja v a 2 s .c o m import retrofit.Callback; import retrofit.http.POST; import retrofit.http.Query; /** * Created by andy on 9/7/14. */ public interface AuthenticationService { // Authentication is not implemented in this project. this endpoint is here to demonstrate // mocking a response for testing. @POST("/login/oauth/access_token") public void login(@Query("client_id") String clientId, @Query("client_secret") String clientSecret, @Query("code") String code, Callback<Boolean> callback); }