通过


MobileFormsAuthentication 类

定义

注意

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 移动应用程序的信息,请参阅 Mobile Apps &具有 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。 有关保护 Web 应用程序的详细信息,请参阅 Web 应用程序的基本安全做法

方法

名称 说明
Equals(Object)
已过时.

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
RedirectFromLoginPage(String, Boolean, String)
已过时.

在登录后,将经过身份验证的用户重定向到最初请求的 URL。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RedirectFromLoginPage(String, Boolean)
已过时.

在登录后,将经过身份验证的用户重定向到最初请求的 URL。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

SignOut()
已过时.

SignOut()调用该方法并将属性设置为 PersistCookielessDatafalse. 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅