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 | |
---|---|---|
VssBasicCredential() | Initializes a new VssBasicCredential instance with no token specified. | |
VssBasicCredential(VssBasicToken) | Initializes a new VssBasicCredential instance with the specified token. | |
VssBasicCredential(String, String) | Initializes a new VssBasicCredential instance with the specified user name and password. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.