.NET 基金会项目介绍-IdentityModel

IdentityModel 是属于 .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

以上《英文介绍》摘录自 .NET Foundation 的项目介绍 。原文受原项目许可证保护。



其他项目地址