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.TokenResponsetokenResponse
onFailure
final
void
onFailure
(final String errorMessage)
Method onFailure.
- Parameters:
final StringerrorMessage
getTokenResponse
public
OAuthClient.TokenResponse
getTokenResponse
()
Method getTokenResponse.
getErrorMessage
public
String
getErrorMessage
()
Method getErrorMessage.
getFuture
public
CompletableFuture
getFuture
()
Method getFuture.