历史 - net.minecraft.server.jsonrpc.security.AuthenticationHandler

1.21.11

名称

avp

avx

字段

org.slf4j.Logger: c, LOGGER, field_62832, LOGGER, f_413658_

org.slf4j.Logger: b, LOGGER, field_62832, LOGGER, f_413658_

io.netty.util.AttributeKey<Boolean>: d, AUTHENTICATED_KEY, field_63006, AUTHENTICATED_KEY, f_413965_

io.netty.util.AttributeKey<Boolean>: c, AUTHENTICATED_KEY, field_63006, AUTHENTICATED_KEY, f_413965_

String: a, AUTH_HEADER, field_62830, AUTHORIZATION_HEADER, f_413905_

String: b, BEARER_PREFIX, field_62831, BEARER_PREFIX, f_411584_

String: a, BEARER_PREFIX, field_62831, BEARER_PREFIX, f_411584_

SecurityConfig: e, securityConfig, field_62833, token, f_413668_

SecurityConfig: g, securityConfig, field_62833, token, f_413668_

io.netty.util.AttributeKey<Boolean>: d, ATTR_WEBSOCKET_ALLOWED, field_63671, WEBSOCKET_AUTH_ALLOWED_KEY, f_434225_

String: e, SUBPROTOCOL_VALUE, field_63672, PROTOCOL, f_434343_

String: f, SUBPROTOCOL_HEADER_PREFIX, field_63673, PROTOCOL_PREFIX, f_433470_

Set<String>: h, allowedOrigins, field_63674, allowedOrigins, f_433140_

构造函数

(SecurityConfig)

(SecurityConfig, String)

方法

boolean (io.netty.handler.codec.http.HttpRequest): b, validateAuthentication, method_74513, isAuthenticated, m_418562_

void (io.netty.channel.ChannelHandlerContext, Object, io.netty.channel.ChannelPromise): write, write, write, write, write

boolean (io.netty.handler.codec.http.HttpRequest): b, isAllowedOriginHeader, method_75593, isOriginAllowed, m_440811_

String (io.netty.handler.codec.http.HttpRequest): c, parseTokenInAuthorizationHeader, method_75594, getBearerToken, m_440216_

String (io.netty.handler.codec.http.HttpRequest): d, parseTokenInSecWebsocketProtocolHeader, method_75595, getProtocolToken, m_440939_

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

avp

net.minecraft.server.jsonrpc.security.AuthenticationHandler

net.minecraft.class_12000

net.minecraft.server.dedicated.management.network.BearerAuthenticationHandler

net.minecraft.src.C_410845_

net.minecraft.server.jsonrpc.security.AuthenticationHandler

字段

org.slf4j.Logger: c, LOGGER, field_62832, LOGGER, f_413658_

io.netty.util.AttributeKey<Boolean>: d, AUTHENTICATED_KEY, field_63006, AUTHENTICATED_KEY, f_413965_

String: a, AUTH_HEADER, field_62830, AUTHORIZATION_HEADER, f_413905_

String: b, BEARER_PREFIX, field_62831, BEARER_PREFIX, f_411584_

SecurityConfig: e, securityConfig, field_62833, token, f_413668_

构造函数

(SecurityConfig)

方法

void (io.netty.channel.ChannelHandlerContext, Object): channelRead, channelRead, channelRead, channelRead, channelRead

AuthenticationHandler$SecurityCheckResult (io.netty.handler.codec.http.HttpRequest): a, performSecurityChecks, method_74511, authenticate, m_416115_

boolean (io.netty.handler.codec.http.HttpRequest): b, validateAuthentication, method_74513, isAuthenticated, m_418562_

boolean (String): a, isValidApiKey, method_74512, tokenMatches, m_416106_

String (io.netty.channel.ChannelHandlerContext): a, getClientIp, method_74508, getHostAddress, m_417314_

void (io.netty.channel.ChannelHandlerContext, String): a, sendUnauthorizedResponse, method_74510, sendUnauthorizedError, m_419855_