Class AuthenticationHandler.SecurityCheckResult
java.lang.Object
net.minecraft.server.jsonrpc.security.AuthenticationHandler.SecurityCheckResult
- Enclosing class:
AuthenticationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Stringprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSecurityCheckResult(boolean pAllowed, String pReason, boolean pTokenSentInSecWebsocketProtocol) -
Method Summary
-
Field Details
-
allowed
private final boolean allowed -
reason
-
tokenSentInSecWebsocketProtocol
private final boolean tokenSentInSecWebsocketProtocol
-
-
Constructor Details
-
SecurityCheckResult
private SecurityCheckResult(boolean pAllowed, String pReason, boolean pTokenSentInSecWebsocketProtocol)
-
-
Method Details
-
allowed
-
allowed
public static AuthenticationHandler.SecurityCheckResult allowed(boolean pTokenSentInSecWebsocketProtocol) -
denied
-
isAllowed
public boolean isAllowed() -
getReason
-
isTokenSentInSecWebsocketProtocol
public boolean isTokenSentInSecWebsocketProtocol()
-