Package marauroa.server.auth
Interface AuthenticationManager
- All Known Implementing Classes:
DatabaseAuthenticationManager
public interface AuthenticationManager
Authentication interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
- SecuredLoginInfocallback
- DelayedEventHandlerclientid
- optional parameter available to the callbackchannel
- optional parameter available to the callbackprotocolVersion
- protocolVersion
-