{"action":"created","comment":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments/44564780","id":44564780,"diff_hunk":"@@ -347,6 +360,51 @@ public function setExpirationDate(\\DateTime $expirationDate = null)\n     }\n \n     /**\n+     * @return integer\n+     * @api\n+     */\n+    public function getFailedAuthenticationCount()\n+    {\n+        return $this->failedAuthenticationCount;\n+    }\n+\n+    /**\n+     * @param integer $failedAuthenticationCount\n+     * @return void\n+     */\n+    public function setFailedAuthenticationCount($failedAuthenticationCount)\n+    {\n+        $this->failedAuthenticationCount = $failedAuthenticationCount;\n+    }\n+\n+\n+    /**\n+     * @return void\n+     */\n+    public function increaseFailedAuthenticationCount()\n+    {\n+        $this->failedAuthenticationCount++;\n+    }\n+\n+    /**\n+     * @return \\DateTime\n+     * @api\n+     */\n+    public function getLastSuccessfulAuthenticationDate()\n+    {\n+        return $this->lastSuccessfulAuthenticationDate;\n+    }\n+\n+    /**\n+     * @param \\DateTime $lastSuccessfulAuthenticationDate\n+     * @return void\n+     */\n+    public function setLastSuccessfulAuthenticationDate(\\DateTime $lastSuccessfulAuthenticationDate)\n+    {\n+        $this->lastSuccessfulAuthenticationDate = $lastSuccessfulAuthenticationDate;\n+    }","path":"TYPO3.Flow/Classes/TYPO3/Flow/Security/Account.php","position":71,"original_position":71,"commit_id":"f37b903b5089078f12154b26161b47ebf070f0aa","original_commit_id":"f37b903b5089078f12154b26161b47ebf070f0aa","user":{"login":"skurfuerst","id":190777,"avatar_url":"https://avatars.githubusercontent.com/u/190777?v=3","gravatar_id":"","url":"https://api.github.com/users/skurfuerst","html_url":"https://github.com/skurfuerst","followers_url":"https://api.github.com/users/skurfuerst/followers","following_url":"https://api.github.com/users/skurfuerst/following{/other_user}","gists_url":"https://api.github.com/users/skurfuerst/gists{/gist_id}","starred_url":"https://api.github.com/users/skurfuerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skurfuerst/subscriptions","organizations_url":"https://api.github.com/users/skurfuerst/orgs","repos_url":"https://api.github.com/users/skurfuerst/repos","events_url":"https://api.github.com/users/skurfuerst/events{/privacy}","received_events_url":"https://api.github.com/users/skurfuerst/received_events","type":"User","site_admin":false},"body":"I'd actually remove this setter","created_at":"2015-11-11T18:11:31Z","updated_at":"2015-11-11T18:11:31Z","html_url":"https://github.com/neos/flow-development-collection/pull/127#discussion_r44564780","pull_request_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments/44564780"},"html":{"href":"https://github.com/neos/flow-development-collection/pull/127#discussion_r44564780"},"pull_request":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/127","id":50379238,"html_url":"https://github.com/neos/flow-development-collection/pull/127","diff_url":"https://github.com/neos/flow-development-collection/pull/127.diff","patch_url":"https://github.com/neos/flow-development-collection/pull/127.patch","issue_url":"https://api.github.com/repos/neos/flow-development-collection/issues/127","number":127,"state":"open","locked":false,"title":"[FEATURE] Monitor successful authentication date and failed authentications","user":{"login":"daniellienert","id":642226,"avatar_url":"https://avatars.githubusercontent.com/u/642226?v=3","gravatar_id":"","url":"https://api.github.com/users/daniellienert","html_url":"https://github.com/daniellienert","followers_url":"https://api.github.com/users/daniellienert/followers","following_url":"https://api.github.com/users/daniellienert/following{/other_user}","gists_url":"https://api.github.com/users/daniellienert/gists{/gist_id}","starred_url":"https://api.github.com/users/daniellienert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniellienert/subscriptions","organizations_url":"https://api.github.com/users/daniellienert/orgs","repos_url":"https://api.github.com/users/daniellienert/repos","events_url":"https://api.github.com/users/daniellienert/events{/privacy}","received_events_url":"https://api.github.com/users/daniellienert/received_events","type":"User","site_admin":false},"body":"To improve security, it is helpful to show the last successful authentication\r\nand the failed authentication count since last successful authentication to the\r\nuser.","created_at":"2015-11-11T12:41:18Z","updated_at":"2015-11-11T18:11:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d118aa8c5eea1d4711095af6d3e6f8314c0ba038","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/127/commits","review_comments_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/127/comments","review_comment_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/issues/127/comments","statuses_url":"https://api.github.com/repos/neos/flow-development-collection/statuses/f37b903b5089078f12154b26161b47ebf070f0aa","head":{"label":"daniellienert:authentication-security","ref":"authentication-security","sha":"f37b903b5089078f12154b26161b47ebf070f0aa","user":{"login":"daniellienert","id":642226,"avatar_url":"https://avatars.githubusercontent.com/u/642226?v=3","gravatar_id":"","url":"https://api.github.com/users/daniellienert","html_url":"https://github.com/daniellienert","followers_url":"https://api.github.com/users/daniellienert/followers","following_url":"https://api.github.com/users/daniellienert/following{/other_user}","gists_url":"https://api.github.com/users/daniellienert/gists{/gist_id}","starred_url":"https://api.github.com/users/daniellienert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniellienert/subscriptions","organizations_url":"https://api.github.com/users/daniellienert/orgs","repos_url":"https://api.github.com/users/daniellienert/repos","events_url":"https://api.github.com/users/daniellienert/events{/privacy}","received_events_url":"https://api.github.com/users/daniellienert/received_events","type":"User","site_admin":false},"repo":{"id":40980448,"name":"flow-development-collection","full_name":"daniellienert/flow-development-collection","owner":{"login":"daniellienert","id":642226,"avatar_url":"https://avatars.githubusercontent.com/u/642226?v=3","gravatar_id":"","url":"https://api.github.com/users/daniellienert","html_url":"https://github.com/daniellienert","followers_url":"https://api.github.com/users/daniellienert/followers","following_url":"https://api.github.com/users/daniellienert/following{/other_user}","gists_url":"https://api.github.com/users/daniellienert/gists{/gist_id}","starred_url":"https://api.github.com/users/daniellienert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniellienert/subscriptions","organizations_url":"https://api.github.com/users/daniellienert/orgs","repos_url":"https://api.github.com/users/daniellienert/repos","events_url":"https://api.github.com/users/daniellienert/events{/privacy}","received_events_url":"https://api.github.com/users/daniellienert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daniellienert/flow-development-collection","description":"The unified repository containing the Flow core packages, used for Flow development.","fork":true,"url":"https://api.github.com/repos/daniellienert/flow-development-collection","forks_url":"https://api.github.com/repos/daniellienert/flow-development-collection/forks","keys_url":"https://api.github.com/repos/daniellienert/flow-development-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daniellienert/flow-development-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daniellienert/flow-development-collection/teams","hooks_url":"https://api.github.com/repos/daniellienert/flow-development-collection/hooks","issue_events_url":"https://api.github.com/repos/daniellienert/flow-development-collection/issues/events{/number}","events_url":"https://api.github.com/repos/daniellienert/flow-development-collection/events","assignees_url":"https://api.github.com/repos/daniellienert/flow-development-collection/assignees{/user}","branches_url":"https://api.github.com/repos/daniellienert/flow-development-collection/branches{/branch}","tags_url":"https://api.github.com/repos/daniellienert/flow-development-collection/tags","blobs_url":"https://api.github.com/repos/daniellienert/flow-development-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daniellienert/flow-development-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daniellienert/flow-development-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/daniellienert/flow-development-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daniellienert/flow-development-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/daniellienert/flow-development-collection/languages","stargazers_url":"https://api.github.com/repos/daniellienert/flow-development-collection/stargazers","contributors_url":"https://api.github.com/repos/daniellienert/flow-development-collection/contributors","subscribers_url":"https://api.github.com/repos/daniellienert/flow-development-collection/subscribers","subscription_url":"https://api.github.com/repos/daniellienert/flow-development-collection/subscription","commits_url":"https://api.github.com/repos/daniellienert/flow-development-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/daniellienert/flow-development-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/daniellienert/flow-development-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/daniellienert/flow-development-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/daniellienert/flow-development-collection/contents/{+path}","compare_url":"https://api.github.com/repos/daniellienert/flow-development-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daniellienert/flow-development-collection/merges","archive_url":"https://api.github.com/repos/daniellienert/flow-development-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daniellienert/flow-development-collection/downloads","issues_url":"https://api.github.com/repos/daniellienert/flow-development-collection/issues{/number}","pulls_url":"https://api.github.com/repos/daniellienert/flow-development-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/daniellienert/flow-development-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/daniellienert/flow-development-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daniellienert/flow-development-collection/labels{/name}","releases_url":"https://api.github.com/repos/daniellienert/flow-development-collection/releases{/id}","created_at":"2015-08-18T15:35:49Z","updated_at":"2015-08-18T15:35:56Z","pushed_at":"2015-11-11T15:40:56Z","git_url":"git://github.com/daniellienert/flow-development-collection.git","ssh_url":"git@github.com:daniellienert/flow-development-collection.git","clone_url":"https://github.com/daniellienert/flow-development-collection.git","svn_url":"https://github.com/daniellienert/flow-development-collection","homepage":null,"size":33100,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neos:master","ref":"master","sha":"0524256c55eb13e713345e9c5e53c94f371ccb3f","user":{"login":"neos","id":11575267,"avatar_url":"https://avatars.githubusercontent.com/u/11575267?v=3","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"repo":{"id":40963991,"name":"flow-development-collection","full_name":"neos/flow-development-collection","owner":{"login":"neos","id":11575267,"avatar_url":"https://avatars.githubusercontent.com/u/11575267?v=3","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neos/flow-development-collection","description":"The unified repository containing the Flow core packages, used for Flow development.","fork":false,"url":"https://api.github.com/repos/neos/flow-development-collection","forks_url":"https://api.github.com/repos/neos/flow-development-collection/forks","keys_url":"https://api.github.com/repos/neos/flow-development-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neos/flow-development-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neos/flow-development-collection/teams","hooks_url":"https://api.github.com/repos/neos/flow-development-collection/hooks","issue_events_url":"https://api.github.com/repos/neos/flow-development-collection/issues/events{/number}","events_url":"https://api.github.com/repos/neos/flow-development-collection/events","assignees_url":"https://api.github.com/repos/neos/flow-development-collection/assignees{/user}","branches_url":"https://api.github.com/repos/neos/flow-development-collection/branches{/branch}","tags_url":"https://api.github.com/repos/neos/flow-development-collection/tags","blobs_url":"https://api.github.com/repos/neos/flow-development-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neos/flow-development-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neos/flow-development-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/neos/flow-development-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neos/flow-development-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/neos/flow-development-collection/languages","stargazers_url":"https://api.github.com/repos/neos/flow-development-collection/stargazers","contributors_url":"https://api.github.com/repos/neos/flow-development-collection/contributors","subscribers_url":"https://api.github.com/repos/neos/flow-development-collection/subscribers","subscription_url":"https://api.github.com/repos/neos/flow-development-collection/subscription","commits_url":"https://api.github.com/repos/neos/flow-development-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/neos/flow-development-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/neos/flow-development-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/neos/flow-development-collection/contents/{+path}","compare_url":"https://api.github.com/repos/neos/flow-development-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neos/flow-development-collection/merges","archive_url":"https://api.github.com/repos/neos/flow-development-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neos/flow-development-collection/downloads","issues_url":"https://api.github.com/repos/neos/flow-development-collection/issues{/number}","pulls_url":"https://api.github.com/repos/neos/flow-development-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/neos/flow-development-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/neos/flow-development-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neos/flow-development-collection/labels{/name}","releases_url":"https://api.github.com/repos/neos/flow-development-collection/releases{/id}","created_at":"2015-08-18T09:48:13Z","updated_at":"2015-11-11T14:01:56Z","pushed_at":"2015-11-11T15:40:56Z","git_url":"git://github.com/neos/flow-development-collection.git","ssh_url":"git@github.com:neos/flow-development-collection.git","clone_url":"https://github.com/neos/flow-development-collection.git","svn_url":"https://github.com/neos/flow-development-collection","homepage":null,"size":34774,"stargazers_count":25,"watchers_count":25,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":35,"forks":33,"open_issues":35,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/127"},"html":{"href":"https://github.com/neos/flow-development-collection/pull/127"},"issue":{"href":"https://api.github.com/repos/neos/flow-development-collection/issues/127"},"comments":{"href":"https://api.github.com/repos/neos/flow-development-collection/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/neos/flow-development-collection/statuses/f37b903b5089078f12154b26161b47ebf070f0aa"}}}}