MDP.AspNetCore.Authentication 6.0.15

There is a newer version of this package available.
See the version list below for details.
dotnet add package MDP.AspNetCore.Authentication --version 6.0.15
                    
NuGet\Install-Package MDP.AspNetCore.Authentication -Version 6.0.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MDP.AspNetCore.Authentication" Version="6.0.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MDP.AspNetCore.Authentication" Version="6.0.15" />
                    
Directory.Packages.props
<PackageReference Include="MDP.AspNetCore.Authentication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MDP.AspNetCore.Authentication --version 6.0.15
                    
#r "nuget: MDP.AspNetCore.Authentication, 6.0.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MDP.AspNetCore.Authentication@6.0.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MDP.AspNetCore.Authentication&version=6.0.15
                    
Install as a Cake Addin
#tool nuget:?package=MDP.AspNetCore.Authentication&version=6.0.15
                    
Install as a Cake Tool

MDP.Net

MDP.Net是.NET版本的開發平台,協助開發人員快速建立Web App、Console App。

範例展示

Todos-工作管理

  • 開發工具:Visual Studio 2022

  • 方案路徑:程式資料夾=>demo/SleepZone.Todos.sln

  • 起始專案:方案總管內=>02.Application/SleepZone.Todos.WebApp

  • 測試步驟:

    • 瀏覽器的網址列:輸入「https://localhost:44392/SleepZone-Todos/Home/Index」,會被跳轉至Login頁面進行登入。

    • Login頁面:點擊「LoginByName」使用Username欄位內容進行登入,跳轉頁面至SleepZone.Todos頁面代表登入成功。

    • SleepZone.Todos頁面:點擊「AddTodo按鈕」新增工作項目,看到{ "statusCode": 200 }代表工作項目新增成功。

    • SleepZone.Todos頁面:點擊「FindAllTodo按鈕」查詢所有工作項目,看到{ "statusCode": 200 }代表工作項目查詢成功。

    • 瀏覽器的網址列:輸入「https://localhost:44392/swagger」,可以看到Swagger頁面並進行操作。

架構設計

MDP.Net-軟體架構

MDP.Net-軟體架構

MDP.Net-分層架構

MDP.Net-分層架構

MDP.Net-平台架構

MDP.Net-平台架構

MDP.Net-需求分析

MDP.Net-需求分析

版本更新

MDP.Net 6.0.14

  • MDP.AspNetCore.Authentication.Liff:調整Liff登入效能、調整Liff登入頁面提示文字。

MDP.Net 6.0.13

  • MDP.AspNetCore.WebApp:WebApp專案設定加入GenerateDocumentationFile,讓系統產生API說明檔。

  • MDP.AspNetCore:加入Swagger預設參數,讓SwaggerUI顯示API說明檔。

  • MDP.IdentityModel.Tokens.Jwt:加入RSA非對稱金鑰支援。

  • MDP.AspNetCore.Authentication.Jwt:加入RSA非對稱金鑰支援。

MDP.Net 6.0.12

  • MDP.AspNetCore:加入Swagger預設參數,讓SwaggerUI顯示API。

  • MDP.IdentityModel.Tokens.Jwt:SecurityTokenFactory加入自訂ExpireMinutes功能。

  • MDP.AspNetCore.Authentication.Jwt:加入多個JWT來源驗證功能,提供自訂HeaderName、TokenPrefix設定。

  • MDP.AspNetCore.Authentication:加入PolicySchemeSelector,提供依照HttpContex選擇AuthenticationScheme功能。

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on MDP.AspNetCore.Authentication:

Package Downloads
MDP.AspNetCore.Authentication.Line

MDPCore Library

MDP.AspNetCore.Authentication.Liff

MDPCore Library

MDP.AspNetCore.Authentication.GitHub

MDPCore Library

MDP.AspNetCore.Authentication.Google

MDPCore Library

MDP.AspNetCore.Authentication.Facebook

MDPCore Library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.7.67 350 10/12/2025
8.0.7.65 902 1/7/2025
8.0.7.63 361 12/31/2024
8.0.7.62 364 12/21/2024
8.0.7.54 475 11/21/2024
8.0.7.53 344 11/8/2024
8.0.7.51 362 10/30/2024
8.0.7.50 331 10/28/2024
8.0.7.47 368 10/23/2024
8.0.7.43 396 10/1/2024
8.0.7.42 419 9/22/2024
8.0.7.22 474 9/13/2024
8.0.7.21 1,113 7/15/2024
8.0.7.20 346 7/12/2024
8.0.7.19 340 7/11/2024
8.0.7.18 373 7/9/2024
8.0.7.17 354 7/8/2024
8.0.7.16 353 7/5/2024
8.0.7.15 313 7/5/2024
8.0.7.14 333 7/5/2024
8.0.7.13 334 7/5/2024
8.0.7.12 347 7/5/2024
8.0.7.11 333 7/1/2024
8.0.7.9 612 6/8/2024
8.0.7.8 355 6/7/2024
8.0.7.7 334 6/7/2024
8.0.7.5 379 6/5/2024
8.0.7.4 328 6/4/2024
8.0.7.2 404 6/3/2024
8.0.7 618 5/21/2024
8.0.6.1 365 5/16/2024
8.0.6 315 5/14/2024
8.0.5.6 314 5/13/2024
8.0.5.5 307 5/13/2024
8.0.5.3 314 5/13/2024
8.0.5.2 311 5/13/2024
8.0.5.1 344 5/6/2024
8.0.5 307 5/3/2024
8.0.2 309 4/26/2024
8.0.1 393 4/6/2024
6.1.20 488 4/5/2024
6.1.15 464 3/30/2024
6.1.14 431 3/30/2024
6.1.13 548 1/30/2024
6.1.11 547 12/16/2023
6.1.10 544 12/12/2023
6.1.5 429 7/16/2023
6.1.4 463 7/2/2023
6.1.3 456 7/2/2023
6.1.2 418 6/18/2023
6.1.1 457 5/6/2023
6.1.0 553 4/19/2023
6.1.0-beta.4 168 4/17/2023
6.1.0-beta.3 164 4/17/2023
6.1.0-beta.2 161 4/16/2023
6.1.0-beta.1 171 4/15/2023
6.0.20 464 9/5/2023
6.0.19 405 9/5/2023
6.0.18 617 5/8/2023
6.0.16 1,120 3/19/2023
6.0.16-beta.10 175 3/29/2023
6.0.16-beta.6 183 3/21/2023
6.0.16-beta.5 175 3/21/2023
6.0.16-beta.4 185 3/20/2023
6.0.16-beta.3 184 3/20/2023
6.0.16-beta.2 186 3/19/2023
6.0.16-beta.1 179 3/19/2023
6.0.15 863 3/18/2023
6.0.14 913 3/18/2023
6.0.13 4,957 9/17/2022
6.0.12 2,150 9/11/2022
6.0.11 2,128 9/11/2022
6.0.11-beta.2 200 9/11/2022
6.0.11-beta 483 9/11/2022
6.0.10 2,170 7/28/2022
6.0.9 2,014 7/13/2022