com.truelayer.java.auth.IAuthenticationApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelayer-java Show documentation
Show all versions of truelayer-java Show documentation
TrueLayer Java SDK for https://truelayer.com
package com.truelayer.java.auth;
import com.truelayer.java.auth.entities.AccessToken;
import com.truelayer.java.auth.entities.GenerateOauthTokenRequest;
import com.truelayer.java.http.entities.ApiResponse;
import java.util.concurrent.CompletableFuture;
import retrofit2.http.Body;
import retrofit2.http.POST;
/**
* Interface that models /connect/* endpoints
*/
public interface IAuthenticationApi {
@POST("/connect/token")
CompletableFuture> generateOauthToken(
@Body GenerateOauthTokenRequest generateOauthTokenRequest);
}