BasicAuthCredential Class
Provides a credential for basic authentication against a Team Foundation Server.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.IssuedTokenCredential
Microsoft.TeamFoundation.Client.FederatedCredential
Microsoft.TeamFoundation.Client.BasicAuthCredential
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public NotInheritable Class BasicAuthCredential _
Inherits FederatedCredential
public sealed class BasicAuthCredential : FederatedCredential
public ref class BasicAuthCredential sealed : public FederatedCredential
[<Sealed>]
type BasicAuthCredential =
class
inherit FederatedCredential
end
public final class BasicAuthCredential extends FederatedCredential
The BasicAuthCredential type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BasicAuthCredential() | Initializes a new BasicAuthCredential instance with no token specified. | |
BasicAuthCredential(ICredentials) | Initializes a new BasicAuthCredential instance with the specified token. | |
BasicAuthCredential(BasicAuthToken) | Initializes a new BasicAuthCredential instance with the specified token. |
Top
Properties
Name | Description | |
---|---|---|
TokenStorage | (Inherited from IssuedTokenCredential.) |
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.