{"action":"created","comment":{"url":"https://api.github.com/repos/ska-sa/katdal/pulls/comments/198856379","pull_request_review_id":132862031,"id":198856379,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODg1NjM3OQ==","diff_hunk":"@@ -52,6 +53,18 @@ def send(self, request, stream=False, timeout=None, *args, **kwargs):\n         return super(_TimeoutHTTPAdapter, self).send(request, stream, timeout, *args, **kwargs)\n \n \n+class _BearerAuth(requests.auth.AuthBase):\n+    def __init__(self, token):\n+        # Character set from RFC 6750","path":"katdal/chunkstore_s3.py","position":14,"original_position":14,"commit_id":"1e494dded244e86cd9fbd6d968946f77c1f290b6","original_commit_id":"1e494dded244e86cd9fbd6d968946f77c1f290b6","user":{"login":"bmerry","id":1963944,"node_id":"MDQ6VXNlcjE5NjM5NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1963944?v=4","gravatar_id":"","url":"https://api.github.com/users/bmerry","html_url":"https://github.com/bmerry","followers_url":"https://api.github.com/users/bmerry/followers","following_url":"https://api.github.com/users/bmerry/following{/other_user}","gists_url":"https://api.github.com/users/bmerry/gists{/gist_id}","starred_url":"https://api.github.com/users/bmerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmerry/subscriptions","organizations_url":"https://api.github.com/users/bmerry/orgs","repos_url":"https://api.github.com/users/bmerry/repos","events_url":"https://api.github.com/users/bmerry/events{/privacy}","received_events_url":"https://api.github.com/users/bmerry/received_events","type":"User","site_admin":false},"body":"RFC 6750 isn't exclusive to OAuth 2.0. It can be used anywhere that a single token is used for authentication.","created_at":"2018-06-28T14:13:31Z","updated_at":"2018-06-28T14:13:31Z","html_url":"https://github.com/ska-sa/katdal/pull/168#discussion_r198856379","pull_request_url":"https://api.github.com/repos/ska-sa/katdal/pulls/168","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/comments/198856379"},"html":{"href":"https://github.com/ska-sa/katdal/pull/168#discussion_r198856379"},"pull_request":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/168"}},"in_reply_to_id":198852747},"pull_request":{"url":"https://api.github.com/repos/ska-sa/katdal/pulls/168","id":197672844,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NjcyODQ0","html_url":"https://github.com/ska-sa/katdal/pull/168","diff_url":"https://github.com/ska-sa/katdal/pull/168.diff","patch_url":"https://github.com/ska-sa/katdal/pull/168.patch","issue_url":"https://api.github.com/repos/ska-sa/katdal/issues/168","number":168,"state":"open","locked":false,"title":"Add support for token-based authentication","user":{"login":"bmerry","id":1963944,"node_id":"MDQ6VXNlcjE5NjM5NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1963944?v=4","gravatar_id":"","url":"https://api.github.com/users/bmerry","html_url":"https://github.com/bmerry","followers_url":"https://api.github.com/users/bmerry/followers","following_url":"https://api.github.com/users/bmerry/following{/other_user}","gists_url":"https://api.github.com/users/bmerry/gists{/gist_id}","starred_url":"https://api.github.com/users/bmerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmerry/subscriptions","organizations_url":"https://api.github.com/users/bmerry/orgs","repos_url":"https://api.github.com/users/bmerry/repos","events_url":"https://api.github.com/users/bmerry/events{/privacy}","received_events_url":"https://api.github.com/users/bmerry/received_events","type":"User","site_admin":false},"body":"This is to pair with ska-sa/katsdpauth#5","created_at":"2018-06-27T09:38:34Z","updated_at":"2018-06-28T14:13:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80db07453be618d9cc606414ecd1a561fb418d44","assignee":{"login":"ludwigschwardt","id":392144,"node_id":"MDQ6VXNlcjM5MjE0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/392144?v=4","gravatar_id":"","url":"https://api.github.com/users/ludwigschwardt","html_url":"https://github.com/ludwigschwardt","followers_url":"https://api.github.com/users/ludwigschwardt/followers","following_url":"https://api.github.com/users/ludwigschwardt/following{/other_user}","gists_url":"https://api.github.com/users/ludwigschwardt/gists{/gist_id}","starred_url":"https://api.github.com/users/ludwigschwardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludwigschwardt/subscriptions","organizations_url":"https://api.github.com/users/ludwigschwardt/orgs","repos_url":"https://api.github.com/users/ludwigschwardt/repos","events_url":"https://api.github.com/users/ludwigschwardt/events{/privacy}","received_events_url":"https://api.github.com/users/ludwigschwardt/received_events","type":"User","site_admin":false},"assignees":[{"login":"ludwigschwardt","id":392144,"node_id":"MDQ6VXNlcjM5MjE0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/392144?v=4","gravatar_id":"","url":"https://api.github.com/users/ludwigschwardt","html_url":"https://github.com/ludwigschwardt","followers_url":"https://api.github.com/users/ludwigschwardt/followers","following_url":"https://api.github.com/users/ludwigschwardt/following{/other_user}","gists_url":"https://api.github.com/users/ludwigschwardt/gists{/gist_id}","starred_url":"https://api.github.com/users/ludwigschwardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludwigschwardt/subscriptions","organizations_url":"https://api.github.com/users/ludwigschwardt/orgs","repos_url":"https://api.github.com/users/ludwigschwardt/repos","events_url":"https://api.github.com/users/ludwigschwardt/events{/privacy}","received_events_url":"https://api.github.com/users/ludwigschwardt/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ska-sa/katdal/pulls/168/commits","review_comments_url":"https://api.github.com/repos/ska-sa/katdal/pulls/168/comments","review_comment_url":"https://api.github.com/repos/ska-sa/katdal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ska-sa/katdal/issues/168/comments","statuses_url":"https://api.github.com/repos/ska-sa/katdal/statuses/1e494dded244e86cd9fbd6d968946f77c1f290b6","head":{"label":"ska-sa:token-auth","ref":"token-auth","sha":"1e494dded244e86cd9fbd6d968946f77c1f290b6","user":{"login":"ska-sa","id":1210238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMTAyMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1210238?v=4","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":12869013,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg2OTAxMw==","name":"katdal","full_name":"ska-sa/katdal","owner":{"login":"ska-sa","id":1210238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMTAyMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1210238?v=4","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ska-sa/katdal","description":"Data access library for the MeerKAT project","fork":false,"url":"https://api.github.com/repos/ska-sa/katdal","forks_url":"https://api.github.com/repos/ska-sa/katdal/forks","keys_url":"https://api.github.com/repos/ska-sa/katdal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ska-sa/katdal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ska-sa/katdal/teams","hooks_url":"https://api.github.com/repos/ska-sa/katdal/hooks","issue_events_url":"https://api.github.com/repos/ska-sa/katdal/issues/events{/number}","events_url":"https://api.github.com/repos/ska-sa/katdal/events","assignees_url":"https://api.github.com/repos/ska-sa/katdal/assignees{/user}","branches_url":"https://api.github.com/repos/ska-sa/katdal/branches{/branch}","tags_url":"https://api.github.com/repos/ska-sa/katdal/tags","blobs_url":"https://api.github.com/repos/ska-sa/katdal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ska-sa/katdal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ska-sa/katdal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ska-sa/katdal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ska-sa/katdal/statuses/{sha}","languages_url":"https://api.github.com/repos/ska-sa/katdal/languages","stargazers_url":"https://api.github.com/repos/ska-sa/katdal/stargazers","contributors_url":"https://api.github.com/repos/ska-sa/katdal/contributors","subscribers_url":"https://api.github.com/repos/ska-sa/katdal/subscribers","subscription_url":"https://api.github.com/repos/ska-sa/katdal/subscription","commits_url":"https://api.github.com/repos/ska-sa/katdal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ska-sa/katdal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ska-sa/katdal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ska-sa/katdal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ska-sa/katdal/contents/{+path}","compare_url":"https://api.github.com/repos/ska-sa/katdal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ska-sa/katdal/merges","archive_url":"https://api.github.com/repos/ska-sa/katdal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ska-sa/katdal/downloads","issues_url":"https://api.github.com/repos/ska-sa/katdal/issues{/number}","pulls_url":"https://api.github.com/repos/ska-sa/katdal/pulls{/number}","milestones_url":"https://api.github.com/repos/ska-sa/katdal/milestones{/number}","notifications_url":"https://api.github.com/repos/ska-sa/katdal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ska-sa/katdal/labels{/name}","releases_url":"https://api.github.com/repos/ska-sa/katdal/releases{/id}","deployments_url":"https://api.github.com/repos/ska-sa/katdal/deployments","created_at":"2013-09-16T14:12:17Z","updated_at":"2018-06-21T14:25:39Z","pushed_at":"2018-06-28T13:32:34Z","git_url":"git://github.com/ska-sa/katdal.git","ssh_url":"git@github.com:ska-sa/katdal.git","clone_url":"https://github.com/ska-sa/katdal.git","svn_url":"https://github.com/ska-sa/katdal","homepage":"","size":1285,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":5,"open_issues":15,"watchers":3,"default_branch":"master"}},"base":{"label":"ska-sa:master","ref":"master","sha":"3abf3ad4f4ac1c39640dcb15c4a5259fe90a83fe","user":{"login":"ska-sa","id":1210238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMTAyMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1210238?v=4","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":12869013,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg2OTAxMw==","name":"katdal","full_name":"ska-sa/katdal","owner":{"login":"ska-sa","id":1210238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMTAyMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1210238?v=4","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ska-sa/katdal","description":"Data access library for the MeerKAT project","fork":false,"url":"https://api.github.com/repos/ska-sa/katdal","forks_url":"https://api.github.com/repos/ska-sa/katdal/forks","keys_url":"https://api.github.com/repos/ska-sa/katdal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ska-sa/katdal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ska-sa/katdal/teams","hooks_url":"https://api.github.com/repos/ska-sa/katdal/hooks","issue_events_url":"https://api.github.com/repos/ska-sa/katdal/issues/events{/number}","events_url":"https://api.github.com/repos/ska-sa/katdal/events","assignees_url":"https://api.github.com/repos/ska-sa/katdal/assignees{/user}","branches_url":"https://api.github.com/repos/ska-sa/katdal/branches{/branch}","tags_url":"https://api.github.com/repos/ska-sa/katdal/tags","blobs_url":"https://api.github.com/repos/ska-sa/katdal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ska-sa/katdal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ska-sa/katdal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ska-sa/katdal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ska-sa/katdal/statuses/{sha}","languages_url":"https://api.github.com/repos/ska-sa/katdal/languages","stargazers_url":"https://api.github.com/repos/ska-sa/katdal/stargazers","contributors_url":"https://api.github.com/repos/ska-sa/katdal/contributors","subscribers_url":"https://api.github.com/repos/ska-sa/katdal/subscribers","subscription_url":"https://api.github.com/repos/ska-sa/katdal/subscription","commits_url":"https://api.github.com/repos/ska-sa/katdal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ska-sa/katdal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ska-sa/katdal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ska-sa/katdal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ska-sa/katdal/contents/{+path}","compare_url":"https://api.github.com/repos/ska-sa/katdal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ska-sa/katdal/merges","archive_url":"https://api.github.com/repos/ska-sa/katdal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ska-sa/katdal/downloads","issues_url":"https://api.github.com/repos/ska-sa/katdal/issues{/number}","pulls_url":"https://api.github.com/repos/ska-sa/katdal/pulls{/number}","milestones_url":"https://api.github.com/repos/ska-sa/katdal/milestones{/number}","notifications_url":"https://api.github.com/repos/ska-sa/katdal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ska-sa/katdal/labels{/name}","releases_url":"https://api.github.com/repos/ska-sa/katdal/releases{/id}","deployments_url":"https://api.github.com/repos/ska-sa/katdal/deployments","created_at":"2013-09-16T14:12:17Z","updated_at":"2018-06-21T14:25:39Z","pushed_at":"2018-06-28T13:32:34Z","git_url":"git://github.com/ska-sa/katdal.git","ssh_url":"git@github.com:ska-sa/katdal.git","clone_url":"https://github.com/ska-sa/katdal.git","svn_url":"https://github.com/ska-sa/katdal","homepage":"","size":1285,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":5,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/168"},"html":{"href":"https://github.com/ska-sa/katdal/pull/168"},"issue":{"href":"https://api.github.com/repos/ska-sa/katdal/issues/168"},"comments":{"href":"https://api.github.com/repos/ska-sa/katdal/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ska-sa/katdal/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/ska-sa/katdal/statuses/1e494dded244e86cd9fbd6d968946f77c1f290b6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bmerry"}}