IIdentityProvider Interface

Namespace:  Microsoft.VisualStudio.Services.Identity
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 AvailableIdentityAttributes Provider-specific attributes used by corresponding identity.
Public property IsSyncable This property signifies whether this identity provider supports syncing.

Top

Methods

  Name Description
Public method CreateDescriptor(TeamFoundationRequestContext, IIdentity) Creates 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 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 method GetIdentity Gets the identity from the ASP.NET identity source.
Public method GetPossibleIdentityTypes Indicates if the supplied descriptor could represent a user, group or both.
Public method ServiceStart
Public method SupportedIdentityTypes Get 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 method SyncMembers
Public method TrySyncIdentity

Top

See Also

Reference

Microsoft.VisualStudio.Services.Identity Namespace