WindowsCredential Class

Provides a credential for windows authentication against a Team Foundation Server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.IssuedTokenCredential
    Microsoft.TeamFoundation.Client.WindowsCredential

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public NotInheritable Class WindowsCredential _
    Inherits IssuedTokenCredential
public sealed class WindowsCredential : IssuedTokenCredential
public ref class WindowsCredential sealed : public IssuedTokenCredential
[<Sealed>]
type WindowsCredential =  
    class 
        inherit IssuedTokenCredential 
    end
public final class WindowsCredential extends IssuedTokenCredential

The WindowsCredential type exposes the following members.

Constructors

  Name Description
Public method WindowsCredential() Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network credentials.
Public method WindowsCredential(Boolean) Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network credentials, if they are specified.
Public method WindowsCredential(ICredentials) Initializes a new WindowsCredential instance using a default user interface provider implementation and the specified network credentials.
Public method WindowsCredential(ICredentials, ICredentialsProvider) Initializes a new WindowsCredential instance using the specified network credentials and fallback credentials provider.

Top

Properties

  Name Description
Public property TokenStorage (Inherited from IssuedTokenCredential.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.TeamFoundation.Client Namespace