Class ClientAuthenticationEvent

All Implemented Interfaces:
Cancellable

public class ClientAuthenticationEvent extends CancellableEvent
This event is called before a client session is authenticated. Cancelling this event will prevent the client from being authenticated and reload the web page. Keep in mind that this event is run from the socket thread, and is blocking other clients from connecting.
  • Constructor Details

    • ClientAuthenticationEvent

      public ClientAuthenticationEvent(Actor actor, String token)
      This event is called when a client is attempting to authenticate
      Parameters:
      actor - The actor that is trying to authenticate
      token - The token that is being used
  • Method Details

    • getActor

      public Actor getActor()
    • getToken

      public String getToken()