OAuthFlow

abstract class OAuthFlow

Class OAuthFlow. Provides oauthflow functionality for the Hytale server.

java.lang.Object > OAuthFlow

Field Summary

tokenResponse

private OAuthClient.TokenResponse tokenResponse

Field tokenResponse.

result

private OAuthResult result

Field result.

errorMessage

private String errorMessage

Field errorMessage.

Method Detail

onSuccess

final void onSuccess (final OAuthClient.TokenResponse tokenResponse)

Method onSuccess.

Parameters:
final OAuthClient.TokenResponse tokenResponse

onFailure

final void onFailure (final String errorMessage)

Method onFailure.

Parameters:
final String errorMessage

getTokenResponse

public OAuthClient.TokenResponse getTokenResponse ()

Method getTokenResponse.

getResult

public OAuthResult getResult ()

Method getResult.

getErrorMessage

public String getErrorMessage ()

Method getErrorMessage.

getFuture

public CompletableFuture getFuture ()

Method getFuture.