IIdentityProvider Interface

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

public interface IIdentityProvider

The IIdentityProvider type exposes the following members.

Public propertyIsSyncable

Public methodCreateDescriptor(TeamFoundationRequestContext, IIdentity)Create descriptor from [IIdentity] instance provided by ASP.NET for authenticated user, through web request's HttpContext.User.Identity property.
Public methodCreateDescriptor(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 methodGetIdentityGets the identity from the ASP.NET identity source.
Public methodGetPossibleIdentityTypes
Public methodServiceStart
Public methodSupportedIdentityTypesGets 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 methodSyncMembers
Public methodTrySyncIdentity