Lets start another thread about an IRC server
- The
"admin" methods are server-side only (for security), but there's no reason you can't wrap them in an action (with authentication on the client).
- I think the way to handle clients joining a room would be to create a 'login' action clients would call which would set `connection.authorizedRoom = 'nameOfRoom'`. Then, they can roomChange into the proper room.
- actionhero won't "boot" a users who is no longer allowed into a room. Once they are in, they are in (we only check the auth key when joining a room). You can get around the effects of this by deleting the room and then re-creating it if you want to 'boot' someone. The act of "booting" a member would involve changing/nulling `connection.authorizedRoom` on the client to boot. To handle this, actionhero needs a way for one server to modify the attributes of a connection which may exists on another server. I'll look into it.
I'll also work on adding an `api.chatRoom.reAuthenticate()` method which can be called to ensure that all members are still authorized.