IIdentityProvider 接口
命名空间: Microsoft.VisualStudio.Services.Identity
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<InheritedExportAttribute> _
Public Interface IIdentityProvider
[InheritedExportAttribute]
public interface IIdentityProvider
IIdentityProvider 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
AvailableIdentityAttributes | 对应的标识使用的提供程序特定的属性。 | |
IsSyncable | 此属性表示此标识提供程序是否支持 syncing。 |
页首
方法
名称 | 说明 | |
---|---|---|
CreateDescriptor(TeamFoundationRequestContext, IIdentity) | 创建从 ASP.NET 提供的 IIdentity 实例的类型描述符进行验证的用户 (通过 web 请求的 HttpContext.User.Identity 属性)。 | |
CreateDescriptor(TeamFoundationRequestContext, String) | 只要支持解决标识泛化的显示名称为描述符,提供程序可以实现 CreateDescriptor。这允许 TFS 采用的显示名称未知用户和解决它使用提供程序到完全限定的标识。注意:,如果无法解决显示名称为 unqiue 用户,应返回 NULL。 | |
GetIdentity | 从 ASP.NET 标识源获取标识。 | |
GetPossibleIdentityTypes | 指示所提供的类型描述符是否可表示用户,组或两个。 | |
ServiceStart | ||
SupportedIdentityTypes | 获取此单元提供的标识类型的完全限定 .NET 选件类类型。这是一个选件类实现 IIdentity。示例是“System.Security.Principal.WindowsIdentity”。 | |
SyncMembers | ||
TrySyncIdentity |
页首