Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
AvailableIdentityAttributes | Provider-specific attributes used by corresponding identity. |
![]() |
IsSyncable | This property signifies whether this identity provider supports syncing. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CreateDescriptor(TeamFoundationRequestContext, IIdentity) | Creates descriptor from IIdentity instance provided by ASP.NET for authenticated user (through web request's HttpContext.User.Identity property). |
![]() |
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. |
![]() |
GetIdentity | Gets the identity from the ASP.NET identity source. |
![]() |
GetPossibleIdentityTypes | Indicates if the supplied descriptor could represent a user, group or both. |
![]() |
ServiceStart | |
![]() |
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". |
![]() |
SyncMembers | |
![]() |
TrySyncIdentity |
Top