Interface AuthenticationManager

All Known Implementing Classes:
DatabaseAuthenticationManager

public interface AuthenticationManager
Authentication interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    verify​(SecuredLoginInfo info, DelayedEventHandler callback, int clientid, Channel channel, int protocolVersion)
    Verify that a player is whom he/she says it is.
  • Method Details

    • verify

      void verify(SecuredLoginInfo info, DelayedEventHandler callback, int clientid, Channel channel, int protocolVersion)
      Verify that a player is whom he/she says it is. Either the username and credentials match. (for example username and password). Or this method sets info.username with a username derived from the credentials. (for example the client provided an oauth token and this method requested user information from an OAuth resource server). /** Verify that a player is whom he/she says it is.
      Parameters:
      info - SecuredLoginInfo
      callback - DelayedEventHandler
      clientid - optional parameter available to the callback
      channel - optional parameter available to the callback
      protocolVersion - protocolVersion