【文件属性】:
文件名称:oauth-authorization-url.js:通用库,用于为OAuth Web流检索GitHub的身份URL
文件大小:125KB
文件格式:ZIP
更新时间:2021-03-15 16:03:46
hacktoberfest TypeScript
oauth-authorization-url.js
通用库,用于为OAuth Web流检索GitHub的身份URL
有关请参阅。 请注意, 的略有不同。 GitHub Apps不支持其用户访问令牌的范围(它们被称为GitHub Apps的用户到服务器令牌),而是从GitHub App的注册继承用户权限,并从相应的安装继承存储库/组织访问权限和权限。
用法
浏览器
直接从加载@octokit/oauth-authorization-url
< script type =" module " >
import { oauthAuthorizationUrl } from "https://cdn.skypack.dev/@octokit/oauth-authorization-url" ;
</ script >
节点
使用npm install @octokit/oauth-a
【文件预览】:
oauth-authorization-url.js-master
----.gitignore(29B)
----package.json(2KB)
----package-lock.json(540KB)
----src()
--------index.ts(2KB)
--------types.ts(1KB)
----.travis.yml(793B)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----tsconfig.json(160B)
----.github()
--------workflows()
----README.md(7KB)
----test()
--------index.test.ts(6KB)