Interface AuthenticationEngine


public interface AuthenticationEngine
Authentication engine.
  • Method Summary

    Modifier and Type
    Method
    Description
    authenticate(io.netty.channel.ChannelHandlerContext context, PacketPayload payload)
    Authenticate.
    int
    handshake(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 context
      payload - packet payload
      Returns:
      authentication result