Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Client: *client connects*
- Server: {response: 200/401} # 200 to skip Authentication entierly, 401 to request Authentication
- Client:{action: 'authenticate', user: { account_name: 'C0deMaver1ck', password: 'CorrectHorseBatteryStaple'}}
- Server: {response: 200/402/409} # 200 if the credentials were good, 402 for bad user/pass 409 for duplicate login
- Server: {action: 'msg', message: 'Welcome to DTALLEY11NET, C0deMaver1ck'}...
Advertisement
Add Comment
Please, Sign In to add comment