OAuthGitClientApp:这是使用OAuth2.0的示例存储库

时间:2021-05-27 23:52:47
【文件属性】:
文件名称:OAuthGitClientApp:这是使用OAuth2.0的示例存储库
文件大小:3.8MB
文件格式:ZIP
更新时间:2021-05-27 23:52:47
oauth2 dotnet-core HTML Git客户端应用示例。 该存储库的主要目的是演示使用asp.net的OAuth2.0授权协议的用法。 我们使用使用github来授权/认证用户。 用法 发展 我们有一个Scripts文件夹,其中包含由asp.net razor pages应用程序提供的页面使用的所有资产(Script和CSS)。 我们使用Webpack来管理这些资产并将其注入到我们的剃须刀页面中。 要构建和启动服务器,请从项目根目录运行以下命令: > dotnet watch run & > cd Scripts > npm run start & 或从项目根目录运行 bash脚本。 否则,请根据您的需要配置应用程序。 在github上注册App。 转到github上的用户设置,然后单击左侧面板中的“开发人员设置”。 单击“ OAuth应用程序”,然后单击“新Oauth应用程序”以注册新的应用程序。 显
【文件预览】:
OAuthGitClientApp-main
----global.json(47B)
----OAuthGitClientApp.csproj(1KB)
----Program.cs(725B)
----.gitignore(7KB)
----Github()
--------Extensions()
--------GitClaimTypes.cs(301B)
----appsettings.Development.json(162B)
----OAuthGitClientApp.sln(2KB)
----Controllers()
--------AuthController.cs(714B)
----appsettings.json(192B)
----Pages()
--------_ViewImports.cshtml(130B)
--------Profile.cshtml(6KB)
--------Shared()
--------Profile.cshtml.cs(210B)
--------_ViewImports.cshtml.cs(210B)
--------_ViewStart.cshtml(37B)
--------Index.cshtml.cs(239B)
--------Index.cshtml(816B)
----LICENSE(1KB)
----start.sh(208B)
----OAuthGitClientApp.csproj.DotSettings(435B)
----README.md(2KB)
----Scripts()
--------package.json(1KB)
--------package-lock.json(349KB)
--------src()
--------webpack.config.js(3KB)
--------localhost.pem(2KB)
--------localhost-key.pem(2KB)
----Components()
--------AvatarNavItem.cs(695B)
--------UserUrlNavItem.cs(675B)
----Startup.cs(2KB)
----Properties()
--------launchSettings.json(720B)
----wwwroot()
--------js()
--------css()
--------lib()
--------Images()
--------favicon.ico(5KB)

网友评论