All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.relayr.java.api.OauthApi Maven / Gradle / Ivy

The newest version!
package io.relayr.java.api;

import io.relayr.java.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 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);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy