RicoSuter/NSwag

OpenIdConnect and cookie

Open

#1,321 建立於 2018年5月15日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)C# (1,189 fork)batch import
help wantedproject: NSwag.AspNettype: bug

倉庫指標

Star
 (6,291 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

#As of OpenAPI Specification 3.0 it is possible to use more authentication methods, in ASP.NET Core it is easy to AddAuthentication with OpenIdConnect and AddCookie. As swashbuckle is not supporting 3.0 I'm looking at NSwag. Is it possible to use NSwag and use cookie-authentication?

https://swagger.io/docs/specification/authentication/ https://swagger.io/docs/specification/authentication/cookie-authentication/

and use OpenIdConnect discovery? https://swagger.io/docs/specification/authentication/openid-connect-discovery/

貢獻者指南