net.minecraft.server.dedicated.management.network

class BearerAuthenticationHandler$Result

net.minecraft.server.jsonrpc.security.AuthenticationHandler$SecurityCheckResult
net.minecraft.class_12000$class_12001
net.minecraft.server.dedicated.management.network.BearerAuthenticationHandler$Result

Field summary

Modifier and TypeField
private final boolean
allowed
field_62834
successful
private final String
reason
field_62835
message
private final boolean
tokenSentInSecWebsocketProtocol
field_63675
mustReturnProtocol

Constructor summary

ModifierConstructor
private (boolean successful, String message, boolean mustReturnProtocol)

Method summary

Modifier and TypeMethod
public static BearerAuthenticationHandler$Result
allowed()
method_74515()
success()
public static BearerAuthenticationHandler$Result
allowed(boolean tokenSentInSecWebsocketProtocol)
method_75596(boolean arg0)
success(boolean mustReturnProtocol)
public static BearerAuthenticationHandler$Result
denied(String reason)
method_74516(String arg0)
failure(String message)
public boolean
isAllowed()
method_74517()
isSuccessful()
public String
getReason()
method_74518()
getMessage()
public boolean
isTokenSentInSecWebsocketProtocol()
method_75597()
mustReturnProtocol()