{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1381","repository_url":"https://api.github.com/repos/dart-lang/pub","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1381/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1381/events","html_url":"https://github.com/dart-lang/pub/issues/1381","id":126763892,"number":1381,"title":"Support authenticating pub against 3rd-party servers","user":{"login":"kevmoo","id":17034,"avatar_url":"https://avatars.githubusercontent.com/u/17034?v=3","gravatar_id":"","url":"https://api.github.com/users/kevmoo","html_url":"https://github.com/kevmoo","followers_url":"https://api.github.com/users/kevmoo/followers","following_url":"https://api.github.com/users/kevmoo/following{/other_user}","gists_url":"https://api.github.com/users/kevmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevmoo/subscriptions","organizations_url":"https://api.github.com/users/kevmoo/orgs","repos_url":"https://api.github.com/users/kevmoo/repos","events_url":"https://api.github.com/users/kevmoo/events{/privacy}","received_events_url":"https://api.github.com/users/kevmoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-14T22:34:24Z","updated_at":"2016-02-24T18:14:09Z","closed_at":null,"body":"We've discussed something like `pub authenticate example.com`\r\n\r\nThis would allow private pub repos to have authenticated access.\r\n\r\nWe'd also want authentication to be supported for `pub get/update`\r\n\r\nCC @computmaxer"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/188388156","html_url":"https://github.com/dart-lang/pub/issues/1381#issuecomment-188388156","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1381","id":188388156,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T18:14:09Z","updated_at":"2016-02-24T18:14:09Z","body":"I'm not comfortable assuming that all users will be completely aware of what they're doing in that case. The only way I'm willing to do this is if each hosted URL has its own credentials."}}