Back to project page android-sdk.
The source code is released under:
MIT License
If you think the Android project android-sdk 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 io.relayr.api; //from w w w .j a va2 s. c o m import io.relayr.model.OauthToken; import retrofit.http.Field; import retrofit.http.FormUrlEncoded; import retrofit.http.POST; import rx.Observable; public interface OauthApi { @FormUrlEncoded @POST("/oauth2/token") Observable<OauthToken> authoriseUser(@Field("code") String code, @Field("client_id") String clientId, @Field("client_secret") String clientSecret, @Field("grant_type") String grantType, @Field("redirect_uri") String redirectUri, @Field("scope") String scope); }