VssClientCredentials Class
Provides credentials to use when connecting to a Visual Studio Service.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Services.Common.VssCredentials
Microsoft.VisualStudio.Services.Client.VssClientCredentials
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Class VssClientCredentials _
Inherits VssCredentials
public class VssClientCredentials : VssCredentials
public ref class VssClientCredentials : public VssCredentials
type VssClientCredentials =
class
inherit VssCredentials
end
public class VssClientCredentials extends VssCredentials
The VssClientCredentials type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VssClientCredentials() | Initializes a new VssClientCredentials instance with default credentials. | |
VssClientCredentials(Boolean) | Initializes a new VssClientCredentials instance with default credentials if specified. | |
VssClientCredentials(FederatedCredential) | Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential. | |
VssClientCredentials(IVssCredentialPrompt) | Initializes a new VssClientCredentials instance with default credentials and the specified credential prompt. | |
VssClientCredentials(WindowsCredential) | Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential. | |
VssClientCredentials(WindowsCredential, CredentialPromptType) | Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential. | |
VssClientCredentials(WindowsCredential, FederatedCredential) | Initializes a new VssClientCredentials instance with the specified windows and issued token credential. | |
VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType) | Initializes a new VssClientCredentials instance with the specified windows and issued token credential. | |
VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler) | Initializes a new VssClientCredentials instance with the specified windows and issued token credential. | |
VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler, IVssCredentialPrompt) | Initializes a new VssCredentials instance with the specified windows and issued token credential. |
Top
Properties
Name | Description | |
---|---|---|
Federated | (Inherited from VssCredentials.) | |
PromptType | (Inherited from VssCredentials.) | |
Storage | (Inherited from VssCredentials.) | |
Windows | (Inherited from VssCredentials.) |
Top
Methods
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
Implicit(FederatedCredential to VssClientCredentials) | Implicitly converts a FederatedCredential instance into a VssClientCredentials instance. | |
Implicit(WindowsCredential to VssClientCredentials) | Implicitly converts a WindowsCredential instance into a VssClientCredentials instance. |
Top
Fields
Name | Description | |
---|---|---|
m_federatedCredential | (Inherited from VssCredentials.) | |
m_windowsCredential | (Inherited from VssCredentials.) |
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.