Share via


IIdentityProvider Interface

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<InheritedExportAttribute> _
Public Interface IIdentityProvider
[InheritedExportAttribute]
public interface IIdentityProvider
[InheritedExportAttribute]
public interface class IIdentityProvider
[<InheritedExportAttribute>]
type IIdentityProvider =  interface end
public interface IIdentityProvider

The IIdentityProvider type exposes the following members.

Properties

  Name Description
Public property IsSyncable

Top

Methods

  Name Description
Public method CreateDescriptor(TeamFoundationRequestContext, IIdentity) Create descriptor from [IIdentity] instance provided by ASP.NET for authenticated user, through web request's HttpContext.User.Identity property.
Public method CreateDescriptor(TeamFoundationRequestContext, String) A provider can implement [CreateDescriptor] if they support resolving an identity's generalized display name to a descriptor. This enables TFS to take a display name for an unknown user and resolve it using the provider to a fully qualified identity.NOTE: You should return NULL if you cannot resolve the display name to a unique user.
Public method GetIdentity Gets the identity from the ASP.NET identity source.
Public method GetPossibleIdentityTypes
Public method ServiceStart
Public method SupportedIdentityTypes Gets the fully qualified .NET Framework class type for the [Identity] types that this store supplies. This is the class that implements [IIdentity], for example, [System.Security.Principal.WindowsIdentity].
Public method SyncMembers
Public method TrySyncIdentity

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace