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
Public method VssClientCredentials() Initializes a new VssClientCredentials instance with default credentials.
Public method VssClientCredentials(Boolean) Initializes a new VssClientCredentials instance with default credentials if specified.
Public method VssClientCredentials(FederatedCredential) Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential.
Public method VssClientCredentials(IVssCredentialPrompt) Initializes a new VssClientCredentials instance with default credentials and the specified credential prompt.
Public method VssClientCredentials(WindowsCredential) Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential.
Public method VssClientCredentials(WindowsCredential, CredentialPromptType) Initializes a new VssClientCredentials instance with the specified windows credential and default issued token credential.
Public method VssClientCredentials(WindowsCredential, FederatedCredential) Initializes a new VssClientCredentials instance with the specified windows and issued token credential.
Public method VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType) Initializes a new VssClientCredentials instance with the specified windows and issued token credential.
Public method VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler) Initializes a new VssClientCredentials instance with the specified windows and issued token credential.
Public method VssClientCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler, IVssCredentialPrompt) Initializes a new VssCredentials instance with the specified windows and issued token credential.

Top

Properties

Name Description
Public property Federated (Inherited from VssCredentials.)
Public property PromptType (Inherited from VssCredentials.)
Public property Storage (Inherited from VssCredentials.)
Public property Windows (Inherited from VssCredentials.)

Top

Methods

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Operators

Name Description
Public operatorStatic member Implicit(FederatedCredential to VssClientCredentials) Implicitly converts a FederatedCredential instance into a VssClientCredentials instance.
Public operatorStatic member Implicit(WindowsCredential to VssClientCredentials) Implicitly converts a WindowsCredential instance into a VssClientCredentials instance.

Top

Fields

Name Description
Protected field m_federatedCredential (Inherited from VssCredentials.)
Protected field 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.

See Also

Reference

Microsoft.VisualStudio.Services.Client Namespace