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

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.server.jsonrpc.security.AuthenticationHandler

net.minecraft.class_12000

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

Fields

org.slf4j.Logger: LOGGER, field_62832, LOGGER

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

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

String: SUBPROTOCOL_VALUE, field_63672, PROTOCOL

String: SUBPROTOCOL_HEADER_PREFIX, field_63673, PROTOCOL_PREFIX

String: BEARER_PREFIX, field_62831, BEARER_PREFIX

BearerToken: securityConfig, field_62833, token

Set<String>: allowedOrigins, field_63674, allowedOrigins

Constructors

(BearerToken, String)

Methods

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

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

BearerAuthenticationHandler$Result (io.netty.handler.codec.http.HttpRequest): performSecurityChecks, method_74511, authenticate

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

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

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

boolean (String): isValidApiKey, method_74512, tokenMatches

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

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

void (io.netty.channel.ChannelHandlerContext, io.netty.util.concurrent.Future): lambda$sendUnauthorizedResponse$0, method_74509, method_74509