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

io.github.robertograham.fortniteapirestclient.service.authentication.AuthenticationService Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package io.github.robertograham.fortniteapirestclient.service.authentication;

import io.github.robertograham.fortniteapirestclient.service.authentication.model.ExchangeCode;
import io.github.robertograham.fortniteapirestclient.service.authentication.model.OAuthToken;
import io.github.robertograham.fortniteapirestclient.service.authentication.model.request.GetExchangeCodeRequest;
import io.github.robertograham.fortniteapirestclient.service.authentication.model.request.GetOAuthTokenRequest;
import io.github.robertograham.fortniteapirestclient.service.authentication.model.request.KillSessionRequest;

import java.util.concurrent.CompletableFuture;

public interface AuthenticationService {

    CompletableFuture getOAuthToken(GetOAuthTokenRequest getOAuthTokenRequest);

    CompletableFuture getExchangeCode(GetExchangeCodeRequest getExchangeCodeRequest);

    CompletableFuture killSession(KillSessionRequest killSessionRequest);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy