Package com.netflix.genie.client.apis
Interface TokenService
public interface TokenService
A interface to fetch access tokens.
- Since:
- 3.0.0
-
Method Summary
-
Method Details
-
getToken
@FormUrlEncoded @POST retrofit2.Call<AccessToken> getToken(@Url String url, @FieldMap Map<String, String> params) A method to retrieve oauth tokens from the server.- Parameters:
params
- A map of all the fields needed to fetch credentials.url
- The URL of the IDP from where to get the credentials.- Returns:
- A callable object.
-