ClientAuthenticationSettings Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. ClientAuthenticationSettings
- com.
Implements
public final class ClientAuthenticationSettings
implements JsonSerializable<ClientAuthenticationSettings>
Client authentication settings for namespace resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientAuthenticationSettings() |
Creates an instance of Client |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Alternative |
alternativeAuthenticationNameSources()
Get the alternative |
|
Custom |
customJwtAuthentication()
Get the custom |
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Webhook |
webhookAuthentication()
Get the webhook |
|
Client |
withAlternativeAuthenticationNameSources(List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources)
Set the alternative |
|
Client |
withCustomJwtAuthentication(CustomJwtAuthenticationSettings customJwtAuthentication)
Set the custom |
|
Client |
withWebhookAuthentication(WebhookAuthenticationSettings webhookAuthentication)
Set the webhook |
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:
customJwtAuthentication
public CustomJwtAuthenticationSettings customJwtAuthentication()
Get the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.
Returns:
fromJson
public static ClientAuthenticationSettings fromJson(JsonReader jsonReader)
Reads an instance of ClientAuthenticationSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
withAlternativeAuthenticationNameSources
public ClientAuthenticationSettings withAlternativeAuthenticationNameSources(List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources)
Set the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client authentication settings for namespace resource.
Parameters:
Returns:
withCustomJwtAuthentication
public ClientAuthenticationSettings withCustomJwtAuthentication(CustomJwtAuthenticationSettings customJwtAuthentication)
Set the customJwtAuthentication property: Custom JWT authentication settings for namespace resource.
Parameters:
Returns:
withWebhookAuthentication
public ClientAuthenticationSettings withWebhookAuthentication(WebhookAuthenticationSettings webhookAuthentication)
Set the webhookAuthentication property: Authentication settings for a webhook endpoint within a Namespace resource.
Parameters:
Returns: