ClaimsProvider Class

Inheritance Hierarchy


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


Public Class ClaimsProvider _
    Implements IIdentityProvider
public class ClaimsProvider : IIdentityProvider
public ref class ClaimsProvider : IIdentityProvider
type ClaimsProvider =  
        interface IIdentityProvider 
public class ClaimsProvider implements IIdentityProvider

The ClaimsProvider type exposes the following members.


Name Description
Public method ClaimsProvider



Name Description
Public property IsSyncable



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 may 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 Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIdentity Get the identity from the ASP.NET identity source.
Public method GetPossibleIdentityTypes
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ServiceStart
Public method SupportedIdentityTypes Get the fully qualified .NET class type for the Identity types that this store supplies. This is the class that implements [IIdentity]. An example is [System.Security.Principal.WindowsIdentity].
Public method SyncMembers
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrySyncIdentity


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.TeamFoundation.Framework.Server Namespace