Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
| .gif) | VssBasicCredential() | Initializes a new VssBasicCredential instance with no token specified. | 
| .gif) | VssBasicCredential(VssBasicToken) | Initializes a new VssBasicCredential instance with the specified token. | 
| .gif) | VssBasicCredential(String, String) | Initializes a new VssBasicCredential instance with the specified user name and password. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | 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.