BasicAuthCredential Class
Note
This version of the HDInsight .NET SDK is deprecated and will be removed by January 1, 2017. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.
Provides the credentials needed to connect to an Hadoop cluster when submitting jobs to that cluster.
Namespace: Microsoft.Hadoop.Client
Assembly: Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Client.BasicAuthCredential
Syntax
public class BasicAuthCredential : IJobSubmissionClientCredential
public ref class BasicAuthCredential : IJobSubmissionClientCredential
type BasicAuthCredential =
class
interface IJobSubmissionClientCredential
end
Public Class BasicAuthCredential
Implements IJobSubmissionClientCredential
Constructors
Name | Description | |
---|---|---|
BasicAuthCredential() | Initializes a new instance of the BasicAuthCredential class. |
Properties
Name | Description | |
---|---|---|
Password | Gets or sets the password for connecting a client to the Hadoop cluster. |
|
Server | Gets or sets the URI of the Hadoop cluster. |
|
UserName | Gets or sets the name of the Hadoop cluster user. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
Provides the username and password for a client and the URI for the server. The RemoteCredentials property gets and sets the BasicAuthCredential object for jobs submitted to a cluster.
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
Microsoft.Hadoop.Client Namespace
Return to top