一起了解 .Net Foundation 项目 No.8-LMLPHP

.Net 基金会中包含有很多优秀的项目,今天就和笔者一起了解一下其中的一些优秀作品吧。

中文介绍

IdentityModel

IdentityModel 是一款 .NET standard 帮助类库,用于处理 claims-based identity (基于声明的身份认证), OAuth 2.0 和 OpenID Connect

它包含有以下主要特性:

  • 作为客户端处理 OAuth 2.0 和 OpenID Connect 标准流程中的相关请求,诸如 authorize, token, discovery, introspection 和 revocation 等等。
  • 作为帮助库,进行 token 管理。
  • 定义了一些用于标准 JWT 声明所涉及的类型常量和协议常量。
  • 一组简洁的 API 用于处理 X509 证书存储
  • misc helpers for base64 URL encoding, time constant string comparison and epoch time
  • 其他的一些帮助库,例如:base64 URL 编码处理,时间字符创常量比较和纪元时间处理(Unix 时间戳处理)

项目详情

相关链接

笔者简评

OAuth 2.0 、 OpenID Connect 和 JWT 等等概念是现代 Web 开发中常见的身份认证与授权方案相关的概念。

IdentityModel 类库,其提供的对接能力为很多主流的项目提供了重要支持,包括但不限于有以下这些知名项目:

学习使用该类库,将会对开发者在身份认证方面有所帮助。

英文介绍

IdentityModel

IdentityModel is a .NET standard helper library for claims-based identity, OAuth 2.0 and OpenID Connect.

It has the following high level features:

  • client libraries for standard OAuth 2.0 and OpenID Connect endpoints like authorize, token, discovery, introspection, revocation etc.
    helpers for token management
  • constants for standard JWT claim types and protocol values
  • simplified API to access the X509 certificate store
  • misc helpers for base64 URL encoding, time constant string comparison and epoch time

Project Details

Quicklinks

中文介绍

IdentityServer

为 ASP.NET Core 提供 OpenID Connect 和 OAuth 2.0 能力的开发框架。

IdentityServer 是能够为您的软件实现身份认证和权限控制相关特性的工具集,包括有:

  • 身份认证即服务(快捷为软件提供身份认证能力)
  • 单点登录、单点登出
  • 为 API 提供权限控制
  • 联合网关

IdentityServer 已被 OpenID 基金会认证。

项目详情

相关链接

笔者简评

IdentityServer 为开发者提供了身份认证和授权、权限控制的开箱即用型解决方案。

其存在有 3 和 4 两个主要版本,3 版本基于 Framework 进行开发,现在已经处于归档状态。目前主要的开发活动都基于 4 的版本之上。

作为一个免费的开箱即用的开源项目,您可以轻松地在中小型网站中实现身份认证和授权、以及权限控制。

其项目背后的主要维护者是 rock solid knowledge 公司。

该公司围绕 IdentityServer 所提供的了很多付费扩展内容

英文介绍

IdentityServer

OpenID Connect and OAuth 2.0 Framework for ASP.NET Core

IdentityServer is a toolkit for implementing identity & access control features in your software, e.g.:

  • Authentication as a Service
  • Single Sign-on / Sign-out
  • Access Control for APIs
  • Federation Gateway

IdentityServer is certified by the OpenID Foundation.

Project Details

Quicklinks

中文介绍

SixLabors.ImageSharp

ImageSharp 是一个新生的、全功能的、全托管代码的、跨平台 2D 图形 API。

ImageSharp 旨在使得图形处理变得更加亲民,带给开发者难以置信的简与美的 API 交互体验。

项目详情

相关链接

笔者简评

这确实是一个新生的图形处理库,以至于目前(2020 年 2 月 17 日)都还没有发布 GA 版本。

项目组宣称相较于 System.Drawing 有更灵活的 API、更少的内存占用、更好的锁机制。能够应用于普通设备,云环境和嵌入式 / IoT 之中。

值得一试。

英文介绍

SixLabors.ImageSharp

ImageSharp is a new, fully featured, fully managed, cross-platform, 2D graphics API.

Designed to democratize image processing, ImageSharp brings you an incredibly powerful yet beautifully simple API.

Project Details

Quicklinks

其他项目

05-28 09:56
查看更多