VssBasicCredential Class

Provides a credential for basic authentication against a Visual Studio Service.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Common.IssuedTokenCredential
    Microsoft.VisualStudio.Services.Common.FederatedCredential
      Microsoft.VisualStudio.Services.Client.VssBasicCredential

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

Syntax

'Declaration
Public NotInheritable Class VssBasicCredential _
    Inherits FederatedCredential
public sealed class VssBasicCredential : FederatedCredential
public ref class VssBasicCredential sealed : public FederatedCredential
[<Sealed>]
type VssBasicCredential =  
    class 
        inherit FederatedCredential 
    end
public final class VssBasicCredential extends FederatedCredential

The VssBasicCredential type exposes the following members.

Constructors

  Name Description
Public method VssBasicCredential() Initializes a new VssBasicCredential instance with no token specified.
Public method VssBasicCredential(VssBasicToken) Initializes a new VssBasicCredential instance with the specified token.
Public method VssBasicCredential(String, String) Initializes a new VssBasicCredential instance with the specified user name and password.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (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.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Services.Client Namespace