How aguafrommars/theidserver works
TheIdServer is an identity and access-management product built around Duende IdentityServer, with SAML 2.0 and WS-Federation support and a Blazor administration app. Administrators manage users, roles, clients, APIs, scopes, identity resources, relying parties, providers, keys, and settings; applications and users then authenticate and authorize through the server’s protocol and consent flows. The README documents major capabilities beyond the sampled code, so those appear as subsystem nodes without speculative implementation-level links. Relationships are limited to documented capabilities and calls visible in the excerpts or source index.
Main entry points: Aguacongas.TheIdServer.Duende OIDC and OAuth · Aguacongas.TheIdServer.BlazorApp Admin UI · ApiScope.cs API and identity scopes · AccountController.cs Account authentication
Components 22
Administration
- Admin UI
src/Aguacongas.TheIdServer.BlazorApp - Client management
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Pages.Client/Client.razor.cs - API management
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Pages.Api - User and role management
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Services - Other configuration
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure
Identity flows
- Account authentication
src/Aguacongas.TheIdServer.Duende/Quickstart/Account/AccountController.cs - Authorization consent
src/Aguacongas.TheIdServer.Duende/Quickstart/Consent/ConsentController.cs - Device authorization
src/Aguacongas.TheIdServer.Duende/Quickstart/Device/DeviceController.cs - CIBA requests
src/Aguacongas.TheIdServer.Duende/Quickstart/Ciba/CibaController.cs - Identity stores
src/Aguacongas.TheIdServer.Identity/UserStore.cs
Protocol services
- OIDC and OAuth
src/Aguacongas.TheIdServer.Duende - SAML 2.0
src/IdentityServer/Duende/Aguacongas.IdentityServer.Saml2p.Duende/Saml2PController.cs - WS-Federation
src/IdentityServer/Duende/Aguacongas.IdentityServer.WsFederation.Duende/WsFederationController.cs
Configuration and data
- Dynamic providers
src/Aguacongas.TheIdServer.Authentication/DynamicProviderStore.cs - Admin data store
src/IdentityServer/Aguacongas.IdentityServer.Store/IAdminStore.cs - Client configuration
src/IdentityServer/Aguacongas.IdentityServer.Store/Entity/Client.cs - API and identity scopes
src/IdentityServer/Aguacongas.IdentityServer.Store/Entity/ApiScope.cs - Identity resources
src/IdentityServer/Aguacongas.IdentityServer.Store/Entity/IdentityResource.cs - OAuth token manager
src/IdentityServer/Aguacongas.IdentityServer/OAuthTokenManager.cs
Other components
- Administrator
- Client application
- End user
Connections 25
- Administrator → Admin UI: configures
- Admin UI → Client management: manages clients
- Admin UI → API management: manages APIs
- Admin UI → User and role management: manages accounts
- Admin UI → Other configuration: manages settings
src/Aguacongas.TheIdServer.BlazorApp/App.razor.cs - Client management → Client configuration: edits
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Pages.Client/Client.razor.cs - API management → API and identity scopes: configures scopes
- User and role management → Identity stores: administers users
- End user → Account authentication: authenticates
- Account authentication → OIDC and OAuth: handles login
src/Aguacongas.TheIdServer.Duende/Quickstart/Account/AccountController.cs - Account authentication → Authorization consent: continues authorization
- Client application → OIDC and OAuth: requests authorization
- End user → Authorization consent: grants consent
src/Aguacongas.TheIdServer.Duende/Quickstart/Consent/ConsentController.cs - End user → Device authorization: confirms device
src/Aguacongas.TheIdServer.Duende/Quickstart/Device/DeviceController.cs - End user → CIBA requests: responds to request
src/Aguacongas.TheIdServer.Duende/Quickstart/Ciba/CibaController.cs - Authorization consent → API and identity scopes: presents scopes
src/Aguacongas.TheIdServer.Duende/Quickstart/Consent/ConsentController.cs - Device authorization → API and identity scopes: presents scopes
src/Aguacongas.TheIdServer.Duende/Quickstart/Device/DeviceController.cs - CIBA requests → API and identity scopes: presents scopes
src/Aguacongas.TheIdServer.Duende/Quickstart/Ciba/CibaController.cs - OIDC and OAuth → SAML 2.0: also supports
- OIDC and OAuth → WS-Federation: also supports
- Admin UI → Dynamic providers: configures providers
- OIDC and OAuth → Dynamic providers: uses provider hub
- OIDC and OAuth → Admin data store: uses configured stores
- OAuth token manager → OIDC and OAuth: discovers token endpoint
src/IdentityServer/Aguacongas.IdentityServer/OAuthTokenManager.cs - OAuth token manager → Client application: obtains access token
src/IdentityServer/Aguacongas.IdentityServer/OAuthTokenManager.cs