public class AuthenticationResult extends Throwable
Throwable class used by the AuthenticationProtocol to indicate that a authentication request has either been completed, failed or cancelled.
| Constructor and Description |
|---|
AuthenticationResult(int result)
Construct an AuthenticationResult
|
AuthenticationResult(int result,
String auths)
Construct an AuthenticationResult
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationMethods()
Get the authentication methods that can be used.
|
int |
getResult()
Get the result of this authentication.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthenticationResult(int result)
result - public AuthenticationResult(int result,
String auths)
result - auths - public int getResult()
public String getAuthenticationMethods()
Copyright © 2025. All rights reserved.