IdentityServer

所属分类:其他
开发工具:SCSS
文件大小:0KB
下载次数:0
上传日期:2024-03-10 20:18:24
上 传 者sh-1993
说明:  标识服务器
(IdentityServer)

文件列表:
IdentityServer.API1.Core/
IdentityServer.API1.Data/
IdentityServer.API1.Service/
IdentityServer.API2.Core/
IdentityServer.API2.Data/
IdentityServer.API2.Service/
IdentityServer.AuthServer/
IdentityServer.ClassicClientApp/
IdentityServer.Client3/
IdentityServer.ModernClientApp/
IdentityServer.SecondClassicClientApp/
IdentityServer.SecondModernClientApp/
IdentityServer.SharedLibrary/
IdentityServer.sln

# IdentityServer4 Sample Repository This repository is prepared to exemplify how to use IdentityServer4 and its various flow types. It contains 6 branches, each focusing on different aspects. ## Overview of Flows - **Client Credential Grant** - **Authorization Code Grant** - **Hybrid Grant** - **Implicit Grant** - **Resource Owner Credential Grant** - **Resource Owner Password And Client Credentials** ## Topics Covered When providing examples of these flows, we delve into: - Storing `ApiScope`, `ApiResource`, `IdentityResources`, and `Client` information in memory. - Utilizing EntityFramework to persist `ApiScope`, `ApiResource`, `IdentityResources`, and `Client` information in a database. - Integrating IdentityServer4 with a custom-built membership system. - Integrating IdentityServer4 with ASP.NET Core Identity membership system. - Configuring a client application for our SPA Angular application, including the setup of a client and `PKCE` settings in the `SinglePageApplication` branch. - Utilizing various endpoints such as `Authorize`, `Token`, `Introspection`, `UserInfo`, `Revocation`, `EndSession`, and `Discovery` endpoints using IdentityModel. - Demonstrating both Cookie and Token-based Authorization. - Implementing `Claim-based Authorization`, `Policy-based Authorization`, and `Role-based` Authorization with code examples. ## Project Structure The repository includes two API projects, four client applications, an Authorization Server, and an ASP.NET Core Identity Authorization application, with the structure varying across branches. Feel free to explore the branches to learn more about IdentityServer4 and its usage in various scenarios. ![image](https://github.com/alicanyilmazz/IdentityServer/assets/49749125/9b516351-801e-4d35-bfe0-d31ff6e98b51) https://github.com/alicanyilmazz/IdentityServer/assets/49749125/0e37c05e-c2a5-40b1-8c49-35e1f086de86 https://github.com/alicanyilmazz/IdentityServer/assets/49749125/9256ade5-9719-481c-9a56-1a328398acc1 https://github.com/alicanyilmazz/IdentityServer/assets/49749125/ff35bca6-28b9-40b1-a078-8bc0cdc5391c https://github.com/alicanyilmazz/IdentityServer/assets/49749125/4ffb2574-3eb0-46fa-a5d8-207b92e63ae3 https://github.com/alicanyilmazz/IdentityServer/assets/49749125/af608f51-5026-467a-a802-ffd3dae411b8 https://github.com/alicanyilmazz/IdentityServer/assets/49749125/cf88e01b-4b76-4d82-85eb-6468bf391905 ![AspNetCoreIdentity](https://github.com/alicanyilmazz/IdentityServer/assets/49749125/fcd55edb-efd5-42f3-8978-42a7ea1983cd) ### SAMPLE POSTMAN COLLECTION [IDENTITYSERVER4.postman_collection.json](https://github.com/alicanyilmazz/IdentityServer/files/14551549/IDENTITYSERVER4.postman_collection.json) ### Here are some resources you can use to study OAuth 2.0 and OpenID Connect: `https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.1` `https://oauth.net/2/grant-types/` `https://oauth.net/videos/` `https://identityserver4.readthedocs.io/en/latest/index.html` `I highly recommend reading the document as it contains valuable information on OAuth 2.0 and OpenID Connect implemented by IdentityServer and Asp Net Core Identity. Taking notes while reading will help you grasp the concepts more effectively.` ![image](https://github.com/alicanyilmazz/IdentityServer/assets/49749125/f8c92360-381d-40b6-950b-221272817cf8)

近期下载者

相关文件


收藏者