{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/167122504","pull_request_review_id":95296213,"id":167122504,"diff_hunk":"@@ -0,0 +1,27 @@\n+/**\n+ * Authentication information:\n+ * * artifacts - an artifact object received from the authentication strategy and used in authentication-related actions.\n+ * * credentials - the credential object received during the authentication process. The presence of an object does not mean successful authentication.\n+ * * error - the authentication error is failed and mode set to 'try'.\n+ * * isAuthenticated - true if the request has been successfully authenticated, otherwise false.\n+ * * isAuthorized - true is the request has been successfully authorized against the route authentication access configuration. If the route has not access rules defined or if the request failed authorization, set to false.\n+ * * mode - the route authentication mode.\n+ * * strategy - the name of the strategy used.\n+ * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestauth)\n+ */\n+export interface RequestAuth {\n+    /** an artifact object received from the authentication strategy and used in authentication-related actions. */\n+    artifacts: object;\n+    /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */\n+    credentials: any;","path":"types/hapi/definitions/request/request-auth.d.ts","position":null,"original_position":16,"commit_id":"3d74812d94ff50e48d26c2edcc29f299d31f74fb","original_commit_id":"c423899d98797d221c481298df29f58da9b55278","user":{"login":"jhsimms","id":526791,"avatar_url":"https://avatars0.githubusercontent.com/u/526791?v=4","gravatar_id":"","url":"https://api.github.com/users/jhsimms","html_url":"https://github.com/jhsimms","followers_url":"https://api.github.com/users/jhsimms/followers","following_url":"https://api.github.com/users/jhsimms/following{/other_user}","gists_url":"https://api.github.com/users/jhsimms/gists{/gist_id}","starred_url":"https://api.github.com/users/jhsimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhsimms/subscriptions","organizations_url":"https://api.github.com/users/jhsimms/orgs","repos_url":"https://api.github.com/users/jhsimms/repos","events_url":"https://api.github.com/users/jhsimms/events{/privacy}","received_events_url":"https://api.github.com/users/jhsimms/received_events","type":"User","site_admin":false},"body":"Updated.","created_at":"2018-02-09T01:56:37Z","updated_at":"2018-02-09T01:56:37Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497#discussion_r167122504","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/167122504"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497#discussion_r167122504"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497"}},"in_reply_to_id":167052686},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497","id":167875319,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23497","number":23497,"state":"open","locked":false,"title":"@types/hapi - v17 (2)","user":{"login":"jhsimms","id":526791,"avatar_url":"https://avatars0.githubusercontent.com/u/526791?v=4","gravatar_id":"","url":"https://api.github.com/users/jhsimms","html_url":"https://github.com/jhsimms","followers_url":"https://api.github.com/users/jhsimms/followers","following_url":"https://api.github.com/users/jhsimms/following{/other_user}","gists_url":"https://api.github.com/users/jhsimms/gists{/gist_id}","starred_url":"https://api.github.com/users/jhsimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhsimms/subscriptions","organizations_url":"https://api.github.com/users/jhsimms/orgs","repos_url":"https://api.github.com/users/jhsimms/repos","events_url":"https://api.github.com/users/jhsimms/events{/privacy}","received_events_url":"https://api.github.com/users/jhsimms/received_events","type":"User","site_admin":false},"body":"Please fill in this template.\r\n\r\n- [x] Use a meaningful title for the pull request. Include the name of the package modified.\r\n- [x] Test the change in your own code. (Compile and run.)\r\n- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).\r\n- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).\r\n- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).\r\n\r\nIf changing an existing definition:\r\n- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/hapijs/hapi/blob/master/API.md\r\n- [x] Increase the version number in the header if appropriate.\r\n- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ \"extends\": \"dtslint/dt.json\" }`.\r\n","created_at":"2018-02-08T04:30:48Z","updated_at":"2018-02-09T01:56:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a9c44c337cdf930404e91533089d43204efbfca","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nycdotnet","id":3755379,"avatar_url":"https://avatars0.githubusercontent.com/u/3755379?v=4","gravatar_id":"","url":"https://api.github.com/users/nycdotnet","html_url":"https://github.com/nycdotnet","followers_url":"https://api.github.com/users/nycdotnet/followers","following_url":"https://api.github.com/users/nycdotnet/following{/other_user}","gists_url":"https://api.github.com/users/nycdotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/nycdotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nycdotnet/subscriptions","organizations_url":"https://api.github.com/users/nycdotnet/orgs","repos_url":"https://api.github.com/users/nycdotnet/repos","events_url":"https://api.github.com/users/nycdotnet/events{/privacy}","received_events_url":"https://api.github.com/users/nycdotnet/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23497/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/3d74812d94ff50e48d26c2edcc29f299d31f74fb","head":{"label":"jhsimms:hapi17","ref":"hapi17","sha":"3d74812d94ff50e48d26c2edcc29f299d31f74fb","user":{"login":"jhsimms","id":526791,"avatar_url":"https://avatars0.githubusercontent.com/u/526791?v=4","gravatar_id":"","url":"https://api.github.com/users/jhsimms","html_url":"https://github.com/jhsimms","followers_url":"https://api.github.com/users/jhsimms/followers","following_url":"https://api.github.com/users/jhsimms/following{/other_user}","gists_url":"https://api.github.com/users/jhsimms/gists{/gist_id}","starred_url":"https://api.github.com/users/jhsimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhsimms/subscriptions","organizations_url":"https://api.github.com/users/jhsimms/orgs","repos_url":"https://api.github.com/users/jhsimms/repos","events_url":"https://api.github.com/users/jhsimms/events{/privacy}","received_events_url":"https://api.github.com/users/jhsimms/received_events","type":"User","site_admin":false},"repo":{"id":79965211,"name":"DefinitelyTyped","full_name":"jhsimms/DefinitelyTyped","owner":{"login":"jhsimms","id":526791,"avatar_url":"https://avatars0.githubusercontent.com/u/526791?v=4","gravatar_id":"","url":"https://api.github.com/users/jhsimms","html_url":"https://github.com/jhsimms","followers_url":"https://api.github.com/users/jhsimms/followers","following_url":"https://api.github.com/users/jhsimms/following{/other_user}","gists_url":"https://api.github.com/users/jhsimms/gists{/gist_id}","starred_url":"https://api.github.com/users/jhsimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhsimms/subscriptions","organizations_url":"https://api.github.com/users/jhsimms/orgs","repos_url":"https://api.github.com/users/jhsimms/repos","events_url":"https://api.github.com/users/jhsimms/events{/privacy}","received_events_url":"https://api.github.com/users/jhsimms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhsimms/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/jhsimms/DefinitelyTyped","forks_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/jhsimms/DefinitelyTyped/deployments","created_at":"2017-01-24T23:33:13Z","updated_at":"2017-01-24T23:33:27Z","pushed_at":"2018-02-09T01:56:24Z","git_url":"git://github.com/jhsimms/DefinitelyTyped.git","ssh_url":"git@github.com:jhsimms/DefinitelyTyped.git","clone_url":"https://github.com/jhsimms/DefinitelyTyped.git","svn_url":"https://github.com/jhsimms/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":281414,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"9a5b1dbfe091813e9997f19cecdb83db03dd4631","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2018-02-08T23:19:07Z","pushed_at":"2018-02-09T01:56:29Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":281708,"stargazers_count":14213,"watchers_count":14213,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11816,"mirror_url":null,"archived":false,"open_issues_count":2024,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":11816,"open_issues":2024,"watchers":14213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23497"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23497"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23497/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23497/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/3d74812d94ff50e48d26c2edcc29f299d31f74fb"}},"author_association":"NONE"}}
{"actor":{"display_login":"jhsimms"}}