在 ASP.NET 應用程式中設定 Microsoft Passport 網路驗證。
Syntax
class PassportAuthentication : EmbeddedObject
方法
這個類別不包含方法。
屬性
下表列出 類別所 PassportAuthentication 公開的屬性。
| 名稱 | 描述 |
|---|---|
RedirectUrl |
讀取/寫入 string 值,指定需要 Passport 網路驗證且使用者未使用 Passport 網路認證登入時,必須重新導向要求的頁面 URL。 預設值為 「internal」。 |
子類別
這個類別不包含子類別。
備註
這個類別的實例包含在AuthenticationSection類別的 屬性中 Passport 。
繼承階層架構
PassportAuthentication
規格需求
| 類型 | 描述 |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |
另請參閱
AnonymousAuthenticationSection 類別
AuthenticationSection 類別
BasicAuthenticationSection 類別
ClientCertificateMappingAuthenticationSection 類別
DigestAuthenticationSection 類別
EmbeddedObject 類別
FormsAuthenticationConfiguration 類別
FormsAuthenticationCredentials 類別
FormsAuthenticationUser 類別
IisClientCertificateMappingAuthenticationSection 類別
WindowsAuthenticationSection 類別