{"action":"created","issue":{"url":"https://api.github.com/repos/nsher/IQ/issues/2","labels_url":"https://api.github.com/repos/nsher/IQ/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nsher/IQ/issues/2/comments","events_url":"https://api.github.com/repos/nsher/IQ/issues/2/events","html_url":"https://github.com/nsher/IQ/issues/2","id":77357745,"number":2,"title":"Идентифицировать пользователя по идентификатору/паролю","user":{"login":"nsher","id":12223432,"avatar_url":"https://avatars.githubusercontent.com/u/12223432?v=3","gravatar_id":"","url":"https://api.github.com/users/nsher","html_url":"https://github.com/nsher","followers_url":"https://api.github.com/users/nsher/followers","following_url":"https://api.github.com/users/nsher/following{/other_user}","gists_url":"https://api.github.com/users/nsher/gists{/gist_id}","starred_url":"https://api.github.com/users/nsher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsher/subscriptions","organizations_url":"https://api.github.com/users/nsher/orgs","repos_url":"https://api.github.com/users/nsher/repos","events_url":"https://api.github.com/users/nsher/events{/privacy}","received_events_url":"https://api.github.com/users/nsher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T17:48:01Z","updated_at":"2015-05-17T18:02:21Z","closed_at":null,"body":"        использовать файл с учётными данными (ID, user_name, password)\r\n        ID - уникальный идентификатор пользователя (генерируется программой)\r\n        Если в файле есть пользователь с таким именем и паролем выводить ошибку"},"comment":{"url":"https://api.github.com/repos/nsher/IQ/issues/comments/102830209","html_url":"https://github.com/nsher/IQ/issues/2#issuecomment-102830209","issue_url":"https://api.github.com/repos/nsher/IQ/issues/2","id":102830209,"user":{"login":"nsher","id":12223432,"avatar_url":"https://avatars.githubusercontent.com/u/12223432?v=3","gravatar_id":"","url":"https://api.github.com/users/nsher","html_url":"https://github.com/nsher","followers_url":"https://api.github.com/users/nsher/followers","following_url":"https://api.github.com/users/nsher/following{/other_user}","gists_url":"https://api.github.com/users/nsher/gists{/gist_id}","starred_url":"https://api.github.com/users/nsher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsher/subscriptions","organizations_url":"https://api.github.com/users/nsher/orgs","repos_url":"https://api.github.com/users/nsher/repos","events_url":"https://api.github.com/users/nsher/events{/privacy}","received_events_url":"https://api.github.com/users/nsher/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T18:02:21Z","updated_at":"2015-05-17T18:02:21Z","body":"1) запросить имя пользователя и пароль\r\n2) найти ID пользователя по его имени и паролю\r\n2.1) если пользователь найден (авторизация прошла успешно), узнать есть ли у него незаконченная сессия тестирования, если есть - спросить, продолжить ли её\r\n2.2) иначе (пользователь либо ошибся с именем/паролем или это новый пользователь)\r\n"}}