Interface AuthenticationEngine
public interface AuthenticationEngine
Authentication engine.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(io.netty.channel.ChannelHandlerContext context, PacketPayload payload) Authenticate.inthandshake(io.netty.channel.ChannelHandlerContext context) Handshake.
-
Method Details
-
handshake
int handshake(io.netty.channel.ChannelHandlerContext context) Handshake.- Parameters:
context- channel handler context- Returns:
- connection ID
-
authenticate
AuthenticationResult authenticate(io.netty.channel.ChannelHandlerContext context, PacketPayload payload) Authenticate.- Parameters:
context- channel handler contextpayload- packet payload- Returns:
- authentication result
-