Show / Hide Table of Contents

Class WebBasicAuthentication

A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint.

Inheritance
System.Object
WebLinkedServiceTypeProperties
WebBasicAuthentication
Inherited Members
WebLinkedServiceTypeProperties.Url
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.WebBasicAuthentication/WebBasicAuthenticationConverter))]
public class WebBasicAuthentication : Azure.Analytics.Synapse.Artifacts.Models.WebLinkedServiceTypeProperties

Constructors

WebBasicAuthentication(Object, Object, SecretBase)

Initializes a new instance of WebBasicAuthentication.

Declaration
public WebBasicAuthentication (object url, object username, Azure.Analytics.Synapse.Artifacts.Models.SecretBase password);
Parameters
System.Object url

The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).

System.Object username

User name for Basic authentication. Type: string (or Expression with resultType string).

SecretBase password

The password for Basic authentication. Please note SecretBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureKeyVaultSecretReference and SecureString.

Exceptions
System.ArgumentNullException

url, username or password is null.

Properties

Password

The password for Basic authentication. Please note SecretBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureKeyVaultSecretReference and SecureString.

Declaration
public Azure.Analytics.Synapse.Artifacts.Models.SecretBase Password { get; set; }
Property Value
SecretBase

Username

User name for Basic authentication. Type: string (or Expression with resultType string).

Declaration
public object Username { get; set; }
Property Value
System.Object

Back to top Azure SDK for .NET