/// <summary> /// Initializes a new instance of the HDInsightAccessTokenCredential class. /// </summary> /// <param name="credential">The credentials to copy.</param> public HDInsightAccessTokenCredential(HDInsightAccessTokenCredential credential) { credential.ArgumentNotNull("credential"); this.SubscriptionId = credential.SubscriptionId; this.AccessToken = credential.AccessToken; this.Endpoint = credential.Endpoint; this.DeploymentNamespace = credential.DeploymentNamespace; }
/// <summary> /// Initializes a new instance of the HDInsightAccessTokenCredential class. /// </summary> /// <param name="credential">The credentials to copy.</param> public HDInsightAccessTokenCredential(HDInsightAccessTokenCredential credential) { credential.ArgumentNotNull("credential"); this.SubscriptionId = credential.SubscriptionId; this.AccessToken = credential.AccessToken; this.Endpoint = credential.Endpoint; this.DeploymentNamespace = credential.DeploymentNamespace; }