jenkinsci/github-plugin — pull request #45 by ndeloof (2014-09-15 11:37:24+00:00)
Title: JENKINS-24702

convert legacy credentials stored as plain text (including Oauth token :-\) to use credentials-plugin.
Maybe AccessTokenCredential is generic enough for this to be defined by some oauth-credentials plugin, not sure how portable this is and if this would make sense.