MobileFormsAuthentication 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
透過在適當的 URL 附加適當的認證資訊,支援無 cookie 裝置。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
public ref class MobileFormsAuthentication
public class MobileFormsAuthentication
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class MobileFormsAuthentication
type MobileFormsAuthentication = class
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type MobileFormsAuthentication = class
Public Class MobileFormsAuthentication
- 繼承
-
MobileFormsAuthentication
- 屬性
備註
這個助手類別旨在協助撰寫認證的行動網站。 類別物件提供行動裝置相容的 ASP.NET FormsAuthentication 類方法版本, RedirectFromLoginPage 且 SignOut。 欲了解更多關於保護您的網頁應用程式的資訊,請參閱 網頁應用程式的基本安全實務。
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| RedirectFromLoginPage(String, Boolean, String) |
已淘汰.
登入後,已認證的使用者會重新導向到原本請求的網址。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
| RedirectFromLoginPage(String, Boolean) |
已淘汰.
登入後,已認證的使用者會重新導向到原本請求的網址。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
| SignOut() |
已淘汰.
呼叫 方法 SignOut() 並將屬性設 PersistCookielessData 為 |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |