共用方式為


UnauthenticatedProvider Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Identity.UnauthenticatedProvider

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

Syntax

'Declaration
Public Class UnauthenticatedProvider _
    Implements IIdentityProvider
public class UnauthenticatedProvider : IIdentityProvider
public ref class UnauthenticatedProvider : IIdentityProvider
type UnauthenticatedProvider =  
    class 
        interface IIdentityProvider 
    end
public class UnauthenticatedProvider implements IIdentityProvider

The UnauthenticatedProvider type exposes the following members.

Constructors

  Name Description
Public method UnauthenticatedProvider

Top

Properties

  Name Description
Public property AvailableIdentityAttributes
Public property IsSyncable

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 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 the default hash function. (Inherited from Object.)
Public method GetIdentity Gets 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 Gets 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 ToString Returns a string that represents the current object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Services.Identity Namespace