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 | |
---|---|---|
WindowsCredential() | Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network credentials. | |
WindowsCredential(Boolean) | Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network credentials, if they are specified. | |
WindowsCredential(ICredentials) | Initializes a new WindowsCredential instance using a default user interface provider implementation and the specified network credentials. | |
WindowsCredential(ICredentials, ICredentialsProvider) | Initializes a new WindowsCredential instance using the specified network credentials and fallback credentials provider. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.