Microsoft.AspNetCore.ApiAuthorization.IdentityServer 命名空間
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含使用 IdentityServer 與 ASP.NET Core 驗證與授權的類型。
類別
| 名稱 | Description |
|---|---|
| ApiAuthorizationDbContext<TUser> |
結合 ASP.NET 身份與身份伺服器的資料庫抽象DbContext化。 |
| ApiAuthorizationOptions |
API 授權選項。 |
| ApiResourceBuilder |
API 資源建構器 |
| ApiResourceCollection |
一組 Duende.IdentityServer.Models.ApiResource。 |
| ApiScopeCollection |
一組 Duende.IdentityServer.Models.ApiScope。 |
| ApplicationProfiles |
授權伺服器中不同應用程式配置檔的常數。 |
| ApplicationProfilesPropertyNames |
常數分別用於儲存應用程式設定檔 Duende.IdentityServer.Models.Client.PropertiesDuende.IdentityServer.Models.Resource.PropertiesDuende.IdentityServer.Models.ClientDuende.IdentityServer.Models.ApiResource 的資訊,或 或 或。 |
| ApplicationProfilesPropertyValues |
為特定 ApplicationProfilesPropertyNames 鍵定義的特殊值常數。 |
| ClientBuilder |
為客戶打造的建築商。 |
| ClientCollection |
一組 Duende.IdentityServer.Models.Client。 |
| ClientParametersTagHelper |
一個標籤輔助工具,用於為特定 OUuth/Openid 客戶端產生資料屬性的客戶端參數。 |
| IdentityResourceBuilder |
身份資源建構器 |
| IdentityResourceCollection |
一組 Duende.IdentityServer.Models.IdentityResource。 |
| IdentityServerJwtConstants |
預設 API 認證處理器的常數。 |
介面
| 名稱 | Description |
|---|---|
| IClientRequestParametersProvider |
為已設定的用戶端產生 oauth/openID 參數值。 |
備註
欲了解更多關於在 ASP.NET Core 應用程式中使用 IdentityServer,請參閱 SPA 的認證與授權。