net.minecraft.server.dedicated.management.network

public class BearerAuthenticationHandler

extends io.netty.channel.ChannelInboundHandlerAdapter

avp
net.minecraft.server.jsonrpc.security.AuthenticationHandler
net.minecraft.class_12000
net.minecraft.server.dedicated.management.network.BearerAuthenticationHandler
net.minecraft.unmapped.C_ldlclzbo
net.minecraft.src.C_410845_

Field summary

Modifier and TypeField
private final org.slf4j.Logger
c
LOGGER
field_62832
LOGGER
f_oatmyenv
f_413658_
private static final io.netty.util.AttributeKey<Boolean>
d
AUTHENTICATED_KEY
field_63006
AUTHENTICATED_KEY
f_nzbynybg
f_413965_
public static final String
a
AUTH_HEADER
field_62830
AUTHORIZATION_HEADER
f_rrxhnuxh
f_413905_
public static final String
b
BEARER_PREFIX
field_62831
BEARER_PREFIX
f_qgrduhmu
f_411584_
private final BearerToken
e
securityConfig
field_62833
token
f_fsotlffz
f_413668_

Constructor summary

ModifierConstructor
public (BearerToken token)

Method summary

Modifier and TypeMethod
public void
channelRead(io.netty.channel.ChannelHandlerContext o, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext context, Object object)
channelRead(io.netty.channel.ChannelHandlerContext p_423931_, Object arg1)
private BearerAuthenticationHandler$Result
a(io.netty.handler.codec.http.HttpRequest arg0)
performSecurityChecks(io.netty.handler.codec.http.HttpRequest arg0)
method_74511(io.netty.handler.codec.http.HttpRequest arg0)
authenticate(io.netty.handler.codec.http.HttpRequest request)
m_lkaywoai(io.netty.handler.codec.http.HttpRequest arg0)
m_416115_(io.netty.handler.codec.http.HttpRequest arg0)
private boolean
b(io.netty.handler.codec.http.HttpRequest arg0)
validateAuthentication(io.netty.handler.codec.http.HttpRequest arg0)
method_74513(io.netty.handler.codec.http.HttpRequest arg0)
isAuthenticated(io.netty.handler.codec.http.HttpRequest request)
m_mbihucgn(io.netty.handler.codec.http.HttpRequest arg0)
m_418562_(io.netty.handler.codec.http.HttpRequest arg0)
public boolean
a(String arg0)
isValidApiKey(String arg0)
method_74512(String arg0)
tokenMatches(String requestToken)
m_iwfuajux(String arg0)
m_416106_(String arg0)
private String
a(io.netty.channel.ChannelHandlerContext arg0)
getClientIp(io.netty.channel.ChannelHandlerContext arg0)
method_74508(io.netty.channel.ChannelHandlerContext arg0)
getHostAddress(io.netty.channel.ChannelHandlerContext context)
m_onnhylhv(io.netty.channel.ChannelHandlerContext arg0)
m_417314_(io.netty.channel.ChannelHandlerContext arg0)
private void
a(io.netty.channel.ChannelHandlerContext o, String arg1)
sendUnauthorizedResponse(io.netty.channel.ChannelHandlerContext arg0, String arg1)
method_74510(io.netty.channel.ChannelHandlerContext arg0, String arg1)
sendUnauthorizedError(io.netty.channel.ChannelHandlerContext context, String message)
m_pwqlozcf(io.netty.channel.ChannelHandlerContext arg0, String arg1)
m_419855_(io.netty.channel.ChannelHandlerContext p_427324_, String arg1)