CookieAuthData 类 (Microsoft.Office.Server.Search.Administration)
Represents an object that contains authentication data used to connect to federated search locations that are configured to use cookie-based authentication.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public NotInheritable Class CookieAuthData
Inherits AuthenticationData
用法
Dim instance As CookieAuthData
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
public sealed class CookieAuthData : AuthenticationData
备注
There are two classes that you can use to represent cookie-based authentication data for federated search locations:
CookieAuthData: Use this class when you programmatically configure federated locations.
CookieCredentials: Use this class in custom federated results Web Parts, when specifying credentials for federated locations that are configured for per user cookie-based authentication. For more information, see 创建一个带有凭据 UI 的自定义联合搜索 Web 部件.
继承层次结构
System.Object
Microsoft.Office.Server.Search.Administration.AuthenticationData
Microsoft.Office.Server.Search.Administration.CookieAuthData
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
CookieAuthData 成员
Microsoft.Office.Server.Search.Administration 命名空间
CookieCredentials
FormsAuthCredentials