{"action":"created","issue":{"url":"https://api.github.com/repos/strophe/strophejs/issues/156","labels_url":"https://api.github.com/repos/strophe/strophejs/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/strophe/strophejs/issues/156/comments","events_url":"https://api.github.com/repos/strophe/strophejs/issues/156/events","html_url":"https://github.com/strophe/strophejs/issues/156","id":112513621,"number":156,"title":"How to hide the password","user":{"login":"pokal4u","id":498771,"avatar_url":"https://avatars.githubusercontent.com/u/498771?v=3","gravatar_id":"","url":"https://api.github.com/users/pokal4u","html_url":"https://github.com/pokal4u","followers_url":"https://api.github.com/users/pokal4u/followers","following_url":"https://api.github.com/users/pokal4u/following{/other_user}","gists_url":"https://api.github.com/users/pokal4u/gists{/gist_id}","starred_url":"https://api.github.com/users/pokal4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokal4u/subscriptions","organizations_url":"https://api.github.com/users/pokal4u/orgs","repos_url":"https://api.github.com/users/pokal4u/repos","events_url":"https://api.github.com/users/pokal4u/events{/privacy}","received_events_url":"https://api.github.com/users/pokal4u/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-21T05:05:43Z","updated_at":"2015-10-21T07:06:13Z","closed_at":null,"body":"HI,\r\nvar username=\"user1\";\r\nvar password=\"userpass\";\r\n\r\nvar connection = new Strophe.Connection(BOSH_SERVICE);\r\nconnection.connect(username,password,onConnect);\r\n\r\nAbove code password was visible for users so How to hide password ?\r\nBecause if password opened, users connect directly from rest clients.\r\n\r\nHow can I restrict this?\r\n\r\nThanks\r\nPokal\r\n\r\nThanks\r\nSrinivas"},"comment":{"url":"https://api.github.com/repos/strophe/strophejs/issues/comments/149800143","html_url":"https://github.com/strophe/strophejs/issues/156#issuecomment-149800143","issue_url":"https://api.github.com/repos/strophe/strophejs/issues/156","id":149800143,"user":{"login":"pokal4u","id":498771,"avatar_url":"https://avatars.githubusercontent.com/u/498771?v=3","gravatar_id":"","url":"https://api.github.com/users/pokal4u","html_url":"https://github.com/pokal4u","followers_url":"https://api.github.com/users/pokal4u/followers","following_url":"https://api.github.com/users/pokal4u/following{/other_user}","gists_url":"https://api.github.com/users/pokal4u/gists{/gist_id}","starred_url":"https://api.github.com/users/pokal4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokal4u/subscriptions","organizations_url":"https://api.github.com/users/pokal4u/orgs","repos_url":"https://api.github.com/users/pokal4u/repos","events_url":"https://api.github.com/users/pokal4u/events{/privacy}","received_events_url":"https://api.github.com/users/pokal4u/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T07:06:13Z","updated_at":"2015-10-21T07:06:13Z","body":"HI,\r\nI am using PHP and Strophe.js\r\nI try to login with sid,jid and rid getting error like not-authorised\r\n\r\nThanks\r\nSrinivas"}}