summaryrefslogtreecommitdiff
path: root/Biz/Que/Site.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-02-03 09:35:18 -0500
committerBen Sima <ben@bsima.me>2021-02-03 09:35:18 -0500
commit1c75a8ee4c9914c7d482b38195b813b12ef4f834 (patch)
tree3a1f625dd3bd9f2d39d3a54712201840375ffc2a /Biz/Que/Site.hs
parentc88c088f22abd64101163980c334b9a4102d5f71 (diff)
Set and guard GitHub API access scope
I need 'repo' scope in order to see private repos. I can't clone and analyze private repos yet, for that I need to handle ssh keys and such, but at least I can ensure that requests are being made with the correct scope. Another addition I should do: check the X-OAuth-Scopes header on every request to ensure the user does not downgrade my scope after registering the app. https://docs.github.com/en/developers/apps/scopes-for-oauth-apps#available-scopes
Diffstat (limited to 'Biz/Que/Site.hs')
0 files changed, 0 insertions, 0 deletions