BasicAuthCredential Class

 

Updated: October 25, 2013

System_CAPS_noteNote

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)

System::Object
  Microsoft.Hadoop.Client::BasicAuthCredential

public ref class BasicAuthCredential : IJobSubmissionClientCredential

NameDescription
System_CAPS_pubmethodBasicAuthCredential()

Initializes a new instance of the BasicAuthCredential class.

NameDescription
System_CAPS_pubpropertyPassword

Gets or sets the password for connecting a client to the Hadoop cluster.

System_CAPS_pubpropertyServer

Gets or sets the URI of the Hadoop cluster.

System_CAPS_pubpropertyUserName

Gets or sets the name of the Hadoop cluster user.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: