ClaimsProvider Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.ClaimsProvider
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class ClaimsProvider _
Implements IIdentityProvider
public class ClaimsProvider : IIdentityProvider
public ref class ClaimsProvider : IIdentityProvider
type ClaimsProvider =
class
interface IIdentityProvider
end
public class ClaimsProvider implements IIdentityProvider
The ClaimsProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClaimsProvider |
Top
Properties
Name | Description | |
---|---|---|
IsSyncable |
Top
Methods
Name | Description | |
---|---|---|
CreateDescriptor(TeamFoundationRequestContext, IIdentity) | Create 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 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. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIdentity | Get the identity from the ASP.NET identity source. | |
GetPossibleIdentityTypes | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ServiceStart | ||
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]. | |
SyncMembers | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrySyncIdentity |
Top
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.