Org.Apache.Http.Authentication 命名空間

類別

名稱 Description
AUTH

與 HTTP 認證相關的常數與靜態輔助工具。

AuthenticationException

表示認證流程失敗

AuthSchemeRegistry

認證方案登錄庫,可用於取得特定授權挑戰類型對應的認證方案實作。

AuthScope

該類別代表一個認證範圍,包含主機名稱、埠號、領域名稱及驗證方案名稱,這些 ICredentials 名稱適用於 。

AuthState

此類別提供關於認證過程狀態的詳細資訊。

BasicUserPrincipal

用於 HTTP 認證的基本使用者原理

InvalidCredentialsException

回應認證挑戰所需的認證憑證是無效的

MalformedChallengeException

這表示認證挑戰在特定情境下以某種方式無效或非法

NTCredentials

ICredentials專為 Windows 平台設計。

NTUserPrincipal

NT(MS Windows專用)使用者主體用於 HTTP 認證

UsernamePasswordCredentials

使用者名稱與密碼 ICredentials

介面

名稱 Description
IAuthScheme

此介面代表一種抽象的挑戰-回應導向認證方案。

IAuthSchemeFactory
ICredentials

基於使用者名稱和密碼的認證憑證。