cost 406 ms
将 Microsoft IdentityModel 包更新到 6.23x 突然增加了 10 个 package 依赖项 - updating Microsoft IdentityModel packages to 6.23x suddenly adding 10 more package dependencies

在升级 IdentityModel package 依赖项时,有人会遇到意外问题吗? 这是一个“错误”还是有其他方法可以解决这个问题? 我有几个 .NET 4.8.1 框架控制台应用程序依赖于 IdentityModel package,它一直是这些包的集合: 我们最近的软件包是在 6.19 上。 ...

IdentityModel.OidcClient 中 LoopbackListener 的 Dispose 方法中的 Task.Delay - Task.Delay in Dispose method of LoopbackListener in IdentityModel.OidcClient

我正在使用IdentityModel.OidcClient 的 SystemBrowser通过浏览器在控制台应用程序中请求令牌。 我不明白的是,为什么LoopbackHttpListener的Dispose方法中有一个await Task.Delay(500) 。 我明白您为什么要通过 Task. ...

IdentityModel 因“无法加载文件或程序集‘System.Numerics.Vectors,Version=4.1.4.0’”而中断 - IdentityModel breaks with "Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0"

我们有一个 .NET Framework 4.7.1 项目我使用 NuGet Package 管理器安装了 IdentityModel 6.0.0。 它为我安装了以下依赖项: 我正在尝试运行以下代码以查看服务是否存在: 但是,它不断产生错误。 我设法深入研究了代码,最后发现了这个: var resu ...

有没有办法使用 IdentityModel 与 Azure 活动功能中的 HTTP 客户端进行自动令牌管理? - Is there a way to use IdentityModel for automated token manegement with HTTP Clients inside Azure Activity Functions?

假设我在自定义FunctionsStartup HTTPClient中配置了一个 HTTPClient 以在 Azure 活动 function 中使用,并且我希望该客户端搭载IndentityModel的身份验证令牌管理,是否有可靠的方法来执行此操作? 我试着寻找这样的解决方案: 但它不起作用, ...

.Net 6 的 System.IdentityModel.Tokens.Jwt 的自定义 object JSON 序列化实现是否存在问题? - Is there an issue with the custom object JSON serialization implementation of System.IdentityModel.Tokens.Jwt for .Net 6?

我们从 .Net Core (do.net core) 3.1 迁移到 .Net 6。我们使用 System.IdentityModel.Tokens.Jwt 来创建有效负载并使用该有效负载生成安全令牌。 我们的应用程序尚未从Newtonsoft.Json迁移到System.Text.Json , ...

.NET 核心 3.1 OAUTH 2 自定义令牌自省 JSON 响应 - “无法设置状态代码,因为响应已经开始” - .NET Core 3.1 OAUTH 2 Token Introspection with Custom JSON Response - "Status Code cannot be set because the response has already started"

我已经在这里尝试了所有解决方案,但没有任何效果。 我正在使用 package IdentityModel.AspNetCore.OAuth2Introspection v6.0.0。 我的业务用例是,当身份验证失败时,我必须在响应中返回 401 Unauthorized 状态代码和自定义 JSON ...

IdentityModel.AspNetCore 问题与反向通道 HttpClient 的代理凭据 - IdentityModel.AspNetCore problem with proxy credentials for backchannel HttpClient

我正在使用IdentityModel.AspNetCore在后台服务中管理客户端访问令牌。 只能通过使用 windows 身份验证的公司代理服务器访问 inte.net。 代理服务器在 Windows 选项中配置,后台服务检测设置,但是身份验证不起作用,我不断收到The proxy tunnel r ...

从 IdentityServer 注销不会关闭 webview 弹出窗口 - Logging out from IdentityServer does not close the webview popup

我已将IdentityModel.OidcClient与 UWP 应用程序一起使用并连接到 Azure AD。 登录 webview 打开并自动关闭,但注销弹出窗口不会自动关闭。 我的实现是基于这个。 当注销发生时,最终的 function 调用会转到此处,但直到手动关闭弹出窗口,执行才会在此Aut ...

Asp.Net Core API OpenId-Connect 身份验证与 JWT 令牌使用 IdentityModel - Asp.Net Core API OpenId-Connect authentication with JWT token using IdentityModel

我有一个 ASP.NET 核心 API 作为 Angular SPA 前端的后端。 我使用Cognito作为身份提供者,并希望使用authorization code flow创建 OpenId-Connect 身份验证,这意味着所有秘密凭据都将存储在后端。 授权流程应该是这样的(标准 OpenI ...

IdentityModel.OidcClient 在 UWP App 中从 3.1.2 迁移到 4.0 - IdentityModel.OidcClient migration from 3.1.2 to 4.0 in UWP App

我最近将 IdentityModel.OidcClient 的 nuget 包从 3.1.2 版更新到了 4.0 版。 现在,由于缺少属性,我的现有实现出现错误,并且无法弄清楚如何从 XXX 迁移到 4.0。 在的NuGet的新V4的一些性质OidcClientOptions如Flow , Re ...

IdentityModel 实现:如何在到期日或之后验证(和刷新)access_token? - IdentityModel implementation: How to verify (and refresh) access_token on or after expiry date?

背景故事:我正在尝试将使用 .NET 5 (MVC) 的新客户端应用程序与现有 IdentityServer4 连接起来。 IdentityServer4(简称IS4)既用于对客户端进行身份验证,也用于提供声明和角色以及API(单独的webapp)在后端系统上请求数据所依赖的access_toke ...

为 .NET Core 3.1/IdentityModel 5.1 使用 ResourceOwnerPassword 流 - Using ResourceOwnerPassword flow for .NET Core 3.1/IdentityModel 5.1

我正在使用 IdentityServer4。 那我想建立使用IdentityModel 5.1.0客户端,并尝试使用下面的一段可用的代码部分在这里 但这给了我以下错误。 错误 CS1729:“TokenClient”不包含采用 3 个参数的构造函数 从文档来看,该页面似乎仅适用于 Core 1 ...

使用从 Cloud Foundry CredHub 检索的值配置 IdentityModel 的 ClientCredential - Configure ClientCredential of IdentityModel using values retrieved from Cloud Foundry CredHub

简短的问题陈述: 如何从 Cloud Foundry CredHub 中获取价值以在ConfigureServices(IServiceCollection services)中使用? 现有条件: 假设我有一个名为SystemConfig的 class 用于保存配置值。 我在“开发”阶段使用 js ...

如何在 c# webapi 中使用 IdentityModel.OidcClient 来验证和验证从支持 openid 连接的活动目录服务生成的令牌? - How can I use IdentityModel.OidcClient in a c# webapi to verify and validate token generated from active directory service supporting openid connect?

我在 c# 和前端 angular 应用程序中有一个 webapi。 angular 应用程序正在调用活动目录服务,例如 azure 广告,以获取访问令牌。 在随后的 webapi 调用中,web api 应用程序需要验证访问令牌。 到目前为止,我的 webapi 一直在使用 Microsoft ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM