次の方法で共有


ClientAuthenticationSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.ClientAuthenticationSettings

Implements

public final class ClientAuthenticationSettings
implements JsonSerializable<ClientAuthenticationSettings>

Client authentication settings for namespace resource.

Constructor Summary

Constructor Description
ClientAuthenticationSettings()

Creates an instance of ClientAuthenticationSettings class.

Method Summary

Modifier and Type Method and Description
List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources()

Get the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client authentication settings for namespace resource.

CustomJwtAuthenticationSettings customJwtAuthentication()

Get the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.

static ClientAuthenticationSettings fromJson(JsonReader jsonReader)

Reads an instance of ClientAuthenticationSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WebhookAuthenticationSettings webhookAuthentication()

Get the webhookAuthentication property: Authentication settings for a webhook endpoint within a Namespace resource.

ClientAuthenticationSettings withAlternativeAuthenticationNameSources(List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources)

Set the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client authentication settings for namespace resource.

ClientAuthenticationSettings withCustomJwtAuthentication(CustomJwtAuthenticationSettings customJwtAuthentication)

Set the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.

ClientAuthenticationSettings withWebhookAuthentication(WebhookAuthenticationSettings webhookAuthentication)

Set the webhookAuthentication property: Authentication settings for a webhook endpoint within a Namespace resource.

Methods inherited from java.lang.Object

Constructor Details

ClientAuthenticationSettings

public ClientAuthenticationSettings()

Creates an instance of ClientAuthenticationSettings class.

Method Details

alternativeAuthenticationNameSources

public List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources()

Get the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client authentication settings for namespace resource.

Returns:

the alternativeAuthenticationNameSources value.

customJwtAuthentication

public CustomJwtAuthenticationSettings customJwtAuthentication()

Get the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.

Returns:

the customJwtAuthentication value.

fromJson

public static ClientAuthenticationSettings fromJson(JsonReader jsonReader)

Reads an instance of ClientAuthenticationSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ClientAuthenticationSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

webhookAuthentication

public WebhookAuthenticationSettings webhookAuthentication()

Get the webhookAuthentication property: Authentication settings for a webhook endpoint within a Namespace resource.

Returns:

the webhookAuthentication value.

withAlternativeAuthenticationNameSources

public ClientAuthenticationSettings withAlternativeAuthenticationNameSources(List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources)

Set the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client authentication settings for namespace resource.

Parameters:

alternativeAuthenticationNameSources - the alternativeAuthenticationNameSources value to set.

Returns:

the ClientAuthenticationSettings object itself.

withCustomJwtAuthentication

public ClientAuthenticationSettings withCustomJwtAuthentication(CustomJwtAuthenticationSettings customJwtAuthentication)

Set the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.

Parameters:

customJwtAuthentication - the customJwtAuthentication value to set.

Returns:

the ClientAuthenticationSettings object itself.

withWebhookAuthentication

public ClientAuthenticationSettings withWebhookAuthentication(WebhookAuthenticationSettings webhookAuthentication)

Set the webhookAuthentication property: Authentication settings for a webhook endpoint within a Namespace resource.

Parameters:

webhookAuthentication - the webhookAuthentication value to set.

Returns:

the ClientAuthenticationSettings object itself.

Applies to