This documentation is archived and is not being maintained.

IIdentityProvider Interface

Visual Studio 2013

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

[InheritedExportAttribute]
public interface IIdentityProvider

The IIdentityProvider type exposes the following members.

  NameDescription
Public propertyAvailableIdentityAttributesProvider-specific attributes used by corresponding identity.
Public propertyIsSyncableThis property signifies whether this identity provider supports syncing.
Top

  NameDescription
Public methodCreateDescriptor(TeamFoundationRequestContext, IIdentity)Creates 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 MAY implement CreateDescriptor if they support resolving an identities generalized display name to a descriptor. This allows 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 can't resolve the display name to a unqiue user.
Public methodGetIdentityGets the identity from the ASP.NET identity source.
Public methodGetPossibleIdentityTypesIndicates if the supplied descriptor could represent a user, group or both.
Public methodServiceStart
Public methodSupportedIdentityTypesGet the fully qualified .NET class type for the Identity type(s) that this store supplies. This is the class that implements IIdentity. An example is "System.Security.Principal.WindowsIdentity".
Public methodSyncMembers
Public methodTrySyncIdentity
Top
Show: