# 构建 OAuth 应用

你可以生成 OAuth apps 供自己或其他人使用。 了解如何为 OAuth apps 注册并设置权限和授权选项。

## Links

* [GitHub 应用和 OAuth 应用之间的差异](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps)

  一般情况下， GitHub Apps 首选 OAuth apps 使用细粒度权限，更好地控制应用可以访问的存储库，并使用生存期较短的令牌。

* [OAuth 应用速率限制](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/rate-limits-for-oauth-apps)

  速率限制将流量速率限制为 GitHub.com，以帮助确保所有用户的一致访问。

* [创建 OAuth 应用](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app)

  你可以在你的个人帐户下或在你有管理权限的任何组织下创建和注册 OAuth app。 创建 OAuth app 时，请记住仅使用你认为公开的信息来保护你的隐私。

* [使用 OAuth 应用对 REST API 进行身份验证](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app)

  通过一些示例了解几种不同的身份验证方法。

* [授权 OAuth 应用](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps)

  你可以允许其他用户授权 OAuth app。

* [OAuth 应用的范围](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps)

  通过作用域，您可以准确指定所需的访问权限类型。 作用域限制 OAuth 标记的访问权限。 它们不会授予超出用户权限范围的任何额外权限。

* [为 OAuth 应用创建自定义徽章](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/creating-a-custom-badge-for-your-oauth-app)

  你可以通过上传自己的徽标图像并自定义背景来替换 OAuth app 上的默认徽章。

* [创建 OAuth 应用的最佳做法](/zh/enterprise-server@3.22/apps/oauth-apps/building-oauth-apps/best-practices-for-creating-an-oauth-app)

  遵循以下最佳做法，以提高您的OAuth app的安全性和性能。