This documentation is archived and is not being maintained.
TfsClientCredentials Class
Visual Studio 2013
Provides credentials to use when you connect to a Team Foundation Server.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
The TfsClientCredentials type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TfsClientCredentials() | Initializes a new TfsClientCredentials instance with default credentials. |
![]() | TfsClientCredentials(Boolean) | Initializes a new TfsClientCredentials instance with default credentials if they are specified. |
![]() | TfsClientCredentials(FederatedCredential) | Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential. |
![]() | TfsClientCredentials(WindowsCredential) | Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential. |
![]() | TfsClientCredentials(WindowsCredential, FederatedCredential) | Initializes a new TfsClientCredentials instance with the specified windows and issued token credential. |
![]() | TfsClientCredentials(WindowsCredential, Boolean) | Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential. |
![]() | TfsClientCredentials(WindowsCredential, FederatedCredential, Boolean) | Initializes a new TfsClientCredentials instance with the specified windows and issued token credential. |
| Name | Description | |
|---|---|---|
![]() | AllowInteractive | Gets or sets a value indicating whether interactive prompts are allowed. |
![]() | Federated | Gets or sets a value indicating the issued token credentials to use for authentication with the server. |
![]() | Windows | Gets the windows credential to use for NTLM authentication with the server. |
| Name | Description | |
|---|---|---|
![]() | 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 the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | LoadCachedCredentials(Uri, Boolean, Boolean) | Loads stored credentials for the specified server if found. If no credentials are found in the windows credential store for the specified server and options then default credentials are returned. |
![]() ![]() | LoadCachedCredentials(String, Uri, Boolean, Boolean) | Loads stored credentials for the specified server if found. If no credentials are found for the specified server and options then default credentials are returned. This overload assumes that the credentials are to be stored under the TFS server's registry root |
![]() ![]() | LoadCachedCredentials(String, Uri, Boolean, Boolean, String, Boolean) | Loads stored credentials for the specified server if found. If no credentials are found in the windows credential store for the specified server and options then default credentials are returned. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SignOut | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Implicit(FederatedCredential to TfsClientCredentials) | Implicitly converts a FederatedCredential instance into a TfsClientCredentials instance. |
![]() ![]() | Implicit(WindowsCredential to TfsClientCredentials) | Implicitly converts a WindowsCredential instance into a TfsClientCredentials instance. |
Show:
