[DOCS]: README and yardocs refer to deleted method #create_authorization
#1639
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Documentation
Improvements or additions to documentation
Describe the need
I've been trying to generate an auth token via Octokit 7.2.0 using
Octokit::Client#create_authorization
, following the README and the yardocs hosted at octokit.github.io, which is linked to from the "About" section of the octokit repo.I keep getting NoMethodErrors:
According to
git log -S create_authorization
, that method was deleted in 017b0e3 as part of #1494, to fix #1429, because per @timrogers, "the APIs it exposes were deprecated back in 2020."The yardocs' colophon indicates they're 5 years old:
I'll update the README to drop those references, but it would be great to also regenerate the yardocs (it looks like they're on the
gh-pages
branch? I don't know the process for pushing to it.)Most broadly: what replaces
create_authorization
? Is there a way to generate an access token for a user on-the-fly? And what else in the README is stale?SDK Version
Octokit.rb 7.2.0
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: