Interface UserAuthenticator

    • Method Detail

      • authenticate

        java.lang.String authenticate​(java.lang.String socketId)
                               throws AuthenticationFailureException
        Called when a user is to be authenticated.
        Parameters:
        socketId - A unique socket connection ID to be used with the authentication. This uniquely identifies the connection that on which the user is being authenticated.
        Returns:
        A user authentication token.
        Throws:
        AuthenticationFailureException - if the authentication fails.