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

com.truelayer.java.auth.IAuthenticationApi Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy