IIdentityProvider 接口

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
<InheritedExportAttribute> _
Public Interface IIdentityProvider
[InheritedExportAttribute]
public interface IIdentityProvider

IIdentityProvider 类型公开以下成员。

属性

  名称 说明
公共属性 IsSyncable

页首

方法

  名称 说明
公共方法 CreateDescriptor(TeamFoundationRequestContext, IIdentity) 创建从 ASP.NET 提供的 [IIdentity] 实例的类型描述符进行验证的用户,或者通过 web 请求的 HttpContext.User.Identity 属性。
公共方法 CreateDescriptor(TeamFoundationRequestContext, String) 只要支持解决标识的通用显示名称为描述符,提供程序可以实现 [CreateDescriptor]。这使 TFS 采用的显示名称未知用户和解决它使用提供程序到完全限定的标识。注意:,如果无法解决显示名称对单个用户,则应返回 NULL。
公共方法 GetIdentity 从 ASP.NET 标识源获取标识。
公共方法 GetPossibleIdentityTypes
公共方法 ServiceStart
公共方法 SupportedIdentityTypes 获取存储提供的 [Identity] 类型的完全限定 .NET Framework 选件类类型。这是实现 [IIdentity],例如,[System.Security.Principal.WindowsIdentity]的选件类。
公共方法 SyncMembers
公共方法 TrySyncIdentity

页首

请参见

参考

Microsoft.TeamFoundation.Framework.Server 命名空间