io.github.robertograham.fortniteapirestclient.service.authentication.AuthenticationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fortnite-api-rest-client Show documentation
Show all versions of fortnite-api-rest-client Show documentation
Provides access to the Fortnite REST API
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.io.IOException;
public interface AuthenticationService {
OAuthToken getOAuthToken(GetOAuthTokenRequest getOAuthTokenRequest) throws IOException;
ExchangeCode getExchangeCode(GetExchangeCodeRequest getExchangeCodeRequest) throws IOException;
void killSession(KillSessionRequest killSessionRequest) throws IOException;
}