
io.relayr.java.api.OauthApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
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