PIB - 20200516: GitHub API - Deprecating password authentication

状況

gistlist.rb から ID, PW で認証して private gist の一覧引いたら、
  • [GitHub] Deprecation Notice
ってメールが届いた。
曰く、
Basic authentication using a password to the API is deprecated and will soon no longer work. Visit https://developer.github.com/changes/2020-02-14-de... for more information around suggested workarounds and removal dates.
って。

なんか ID, PW による認証は廃止予定なので access token か OAuth token 取って使えってことらしい。
猶予期間は 2020-11-13 04:00:00 UTC までとのこと。