1 Star 0 Fork 12

hank / QrF.Core

forked from 非空 / QrF.Core 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

QrF.Core

基于.net core 2.0 的微服务框架,参考ABP项目,加入个人见解重构项目

参考的应用框架

abp

开发环境

VS2017 / VS Code

.net core 2.0

服务介绍

QrF.Core.Materials material 示例项目

基于CQRS实现的应用

QrF.Core.API webapi接口项目,对外提供数据接口

使用 Microsoft.AspNetCore.Mvc.Versioning 来实现版本控制

使用 Swashbuckle.AspNetCore 来实现接口文档展示

QrF.Core.IdentityServer 身份认证服务,实现单点登录

使用 Identity Server4 实现身份认证

QrF.Core.UI 客户端界面

纯前端项目,使用oidc-client来实现授权认证。 配置项:

authority是IdentityServer的入口URL. 通过这个URL,oidc-client可以查询如何与这个IdentityServer通信, 并验证token的有效性。
client_id 这是客户端标识,认证服务器用这个标识来区别不同的客户端。
popup_redirect_uri 是使用signinPopup方法是的重定向URL。如果你不想用弹出框来登陆,希望用户能到主登录界面登陆,那么你需要使用redirect_uri属性和signinRedirect 方法。
response_type 定义响应类型,在我们的例子中,我们只需要服务器返回身份令牌
scope 定义了我们要求的作用域
filterProtocolClaims 告诉oidc-client过滤掉OIDC协议内部用的声明信息,如: nonce, at_hash, iat, nbf, exp, aud, iss 和 idp
MIT License Copyright (c) 2017 非空 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于.net core 2.0 的微服务框架 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/wedoiptv/QrF.Core.git
git@gitee.com:wedoiptv/QrF.Core.git
wedoiptv
QrF.Core
QrF.Core
master

搜索帮助