src/web.oidc.server.ids4
: ids4 (https://github.com/IdentityServer/IdentityServer4) example (with qqconnect external login).
src/web.oidc.client.hybrid
: web site, hybrid flow.src/web.oidc.client.implicit
: web site, implicit flow.src/web.oidc.client.js
: web site(static), implicit flow .src/uwp.oidc.client.authorization-code
: uwp app, authorization code flow.src/console.oidc.client.client-credentials
:console app,client credentials flow(oauth2).
src/web.oauth2.resources.aspnetcore.
: asp.net core 2).src/web.oauth2.resources.owin.
: asp.net owin.
src/web.oauth2.client.aspnetcore
: asp.net core 2.src/web.oauth2.client.owin
: asp.net owin.
src/oauth2.qqconnect.aspnetcore
: asp.net core 2.src/oauth2.qqconnect.owin
: asp.net owin.
Use administrator run build.ps1 to deploy demo web site to local IIS.
If you want use QQ Connect, please replace ClientId
and ClientSercet
in src/_shared/QQConnectConfig.cs
file.
public static class QQConnectConfig
{
public static readonly string ClientId = "You App Id";
public static readonly string ClientSecret = "You App Secret";
}
build.ps1 -help
build.ps1 -target {Task}
Task Description
================================================================================
clean 清理项目缓存
restore 还原项目依赖
build 编译项目
publish 发布项目
deploy 部署到本机IIS
open-browser 用浏览器打开部署的站点
default 默认执行open-browser
Authentication and Authorization: http://www.cnblogs.com/linianhui/category/929878.html
OIDC in Action: http://www.cnblogs.com/linianhui/category/1121078.html