WebClientCertificateAuthentication Class

public final class WebClientCertificateAuthentication
extends WebLinkedServiceTypeProperties

A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client.

Constructor Summary

Constructor Description
WebClientCertificateAuthentication()

Creates an instance of WebClientCertificateAuthentication class.

Method Summary

Modifier and Type Method and Description
WebAuthenticationType authenticationType()

Get the authenticationType property: Type of authentication used to connect to the web table source.

static WebClientCertificateAuthentication fromJson(JsonReader jsonReader)

Reads an instance of WebClientCertificateAuthentication from the JsonReader.

SecretBase password()

Get the password property: Password for the PFX file.

SecretBase pfx()

Get the pfx property: Base64-encoded contents of a PFX file.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WebClientCertificateAuthentication withPassword(SecretBase password)

Set the password property: Password for the PFX file.

WebClientCertificateAuthentication withPfx(SecretBase pfx)

Set the pfx property: Base64-encoded contents of a PFX file.

WebClientCertificateAuthentication withUrl(Object url)

Set the url property: The URL of the web service endpoint, e.g.

Methods inherited from WebLinkedServiceTypeProperties

Methods inherited from java.lang.Object

Constructor Details

WebClientCertificateAuthentication

public WebClientCertificateAuthentication()

Creates an instance of WebClientCertificateAuthentication class.

Method Details

authenticationType

public WebAuthenticationType authenticationType()

Get the authenticationType property: Type of authentication used to connect to the web table source.

Overrides:

WebClientCertificateAuthentication.authenticationType()

Returns:

the authenticationType value.

fromJson

public static WebClientCertificateAuthentication fromJson(JsonReader jsonReader)

Reads an instance of WebClientCertificateAuthentication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebClientCertificateAuthentication if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

password

public SecretBase password()

Get the password property: Password for the PFX file.

Returns:

the password value.

pfx

public SecretBase pfx()

Get the pfx property: Base64-encoded contents of a PFX file.

Returns:

the pfx value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WebClientCertificateAuthentication.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

WebClientCertificateAuthentication.validate()

withPassword

public WebClientCertificateAuthentication withPassword(SecretBase password)

Set the password property: Password for the PFX file.

Parameters:

password - the password value to set.

Returns:

the WebClientCertificateAuthentication object itself.

withPfx

public WebClientCertificateAuthentication withPfx(SecretBase pfx)

Set the pfx property: Base64-encoded contents of a PFX file.

Parameters:

pfx - the pfx value to set.

Returns:

the WebClientCertificateAuthentication object itself.

withUrl

public WebClientCertificateAuthentication withUrl(Object url)

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

Overrides:

WebClientCertificateAuthentication.withUrl(Object url)

Parameters:

url

Applies to