Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TfsClientCredentials Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides credentials to use when you connect to a Team Foundation Server.

System.Object
  Microsoft.TeamFoundation.Client.TfsClientCredentials

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public class TfsClientCredentials

The TfsClientCredentials type exposes the following members.

  NameDescription
Public methodTfsClientCredentials()Initializes a new TfsClientCredentials instance with default credentials.
Public methodTfsClientCredentials(Boolean)Initializes a new TfsClientCredentials instance with default credentials if they are specified.
Public methodTfsClientCredentials(FederatedCredential)Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential.
Public methodTfsClientCredentials(WindowsCredential)Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential.
Public methodTfsClientCredentials(WindowsCredential, FederatedCredential)Initializes a new TfsClientCredentials instance with the specified windows and issued token credential.
Public methodTfsClientCredentials(WindowsCredential, Boolean)Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential.
Public methodTfsClientCredentials(WindowsCredential, FederatedCredential, Boolean)Initializes a new TfsClientCredentials instance with the specified windows and issued token credential.
Top
  NameDescription
Public propertyAllowInteractiveGets or sets a value indicating whether interactive prompts are allowed.
Public propertyFederatedGets or sets a value indicating the issued token credentials to use for authentication with the server.
Public propertyWindowsGets the windows credential to use for NTLM authentication with the server.
Top
  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberLoadCachedCredentials(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.
Public methodStatic memberLoadCachedCredentials(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
Public methodStatic memberLoadCachedCredentials(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.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public operatorStatic memberImplicit(FederatedCredential to TfsClientCredentials)Implicitly converts a FederatedCredential instance into a TfsClientCredentials instance.
Public operatorStatic memberImplicit(WindowsCredential to TfsClientCredentials)Implicitly converts a WindowsCredential instance into a TfsClientCredentials instance.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.