PassportAuthentication 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
在 ASP.NET 应用程序中配置基于 Passport 的身份验证。
public ref class PassportAuthentication sealed : System::Configuration::ConfigurationElement
public sealed class PassportAuthentication : System.Configuration.ConfigurationElement
[System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public sealed class PassportAuthentication : System.Configuration.ConfigurationElement
type PassportAuthentication = class
inherit ConfigurationElement
[<System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
type PassportAuthentication = class
inherit ConfigurationElement
Public NotInheritable Class PassportAuthentication
Inherits ConfigurationElement
- 继承
- 属性
注解
类 PassportAuthentication 允许在标记标识 passport 的 Machine.config 或 Web.config 配置文件中访问和配置节点。
此类型是包含和AuthenticationSectionFormsAuthenticationConfiguration类型的组的AuthenticationMode一部分。
注释
该 PassportAuthentication 类只能在计算机、站点或应用程序级别将信息写入配置文件的相关部分。 在层次结构中不同级别的配置文件中写入的任何尝试都将导致分析程序生成的错误消息。 可以使用此类在层次结构中的任何级别读取配置信息。
构造函数
| 名称 | 说明 |
|---|---|
| PassportAuthentication() |
已过时.
初始化 PassportAuthentication 类的新实例。 |