AuthenticationSettingsContract Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.AuthenticationSettingsContract

public final class AuthenticationSettingsContract

API Authentication Settings.

Constructor Summary

Constructor Description
AuthenticationSettingsContract()

Creates an instance of AuthenticationSettingsContract class.

Method Summary

Modifier and Type Method and Description
OAuth2AuthenticationSettingsContract oAuth2()

Get the oAuth2 property: OAuth2 Authentication settings.

List<OAuth2AuthenticationSettingsContract> oAuth2AuthenticationSettings()

Get the oAuth2AuthenticationSettings property: Collection of OAuth2 authentication settings included into this API.

OpenIdAuthenticationSettingsContract openid()

Get the openid property: OpenID Connect Authentication Settings.

List<OpenIdAuthenticationSettingsContract> openidAuthenticationSettings()

Get the openidAuthenticationSettings property: Collection of Open ID Connect authentication settings included into this API.

void validate()

Validates the instance.

AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)

Set the oAuth2 property: OAuth2 Authentication settings.

AuthenticationSettingsContract withOAuth2AuthenticationSettings(List<OAuth2AuthenticationSettingsContract> oAuth2AuthenticationSettings)

Set the oAuth2AuthenticationSettings property: Collection of OAuth2 authentication settings included into this API.

AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)

Set the openid property: OpenID Connect Authentication Settings.

AuthenticationSettingsContract withOpenidAuthenticationSettings(List<OpenIdAuthenticationSettingsContract> openidAuthenticationSettings)

Set the openidAuthenticationSettings property: Collection of Open ID Connect authentication settings included into this API.

Methods inherited from java.lang.Object

Constructor Details

AuthenticationSettingsContract

public AuthenticationSettingsContract()

Creates an instance of AuthenticationSettingsContract class.

Method Details

oAuth2

public OAuth2AuthenticationSettingsContract oAuth2()

Get the oAuth2 property: OAuth2 Authentication settings.

Returns:

the oAuth2 value.

oAuth2AuthenticationSettings

public List oAuth2AuthenticationSettings()

Get the oAuth2AuthenticationSettings property: Collection of OAuth2 authentication settings included into this API.

Returns:

the oAuth2AuthenticationSettings value.

openid

public OpenIdAuthenticationSettingsContract openid()

Get the openid property: OpenID Connect Authentication Settings.

Returns:

the openid value.

openidAuthenticationSettings

public List openidAuthenticationSettings()

Get the openidAuthenticationSettings property: Collection of Open ID Connect authentication settings included into this API.

Returns:

the openidAuthenticationSettings value.

validate

public void validate()

Validates the instance.

withOAuth2

public AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)

Set the oAuth2 property: OAuth2 Authentication settings.

Parameters:

oAuth2 - the oAuth2 value to set.

Returns:

the AuthenticationSettingsContract object itself.

withOAuth2AuthenticationSettings

public AuthenticationSettingsContract withOAuth2AuthenticationSettings(List oAuth2AuthenticationSettings)

Set the oAuth2AuthenticationSettings property: Collection of OAuth2 authentication settings included into this API.

Parameters:

oAuth2AuthenticationSettings - the oAuth2AuthenticationSettings value to set.

Returns:

the AuthenticationSettingsContract object itself.

withOpenid

public AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)

Set the openid property: OpenID Connect Authentication Settings.

Parameters:

openid - the openid value to set.

Returns:

the AuthenticationSettingsContract object itself.

withOpenidAuthenticationSettings

public AuthenticationSettingsContract withOpenidAuthenticationSettings(List openidAuthenticationSettings)

Set the openidAuthenticationSettings property: Collection of Open ID Connect authentication settings included into this API.

Parameters:

openidAuthenticationSettings - the openidAuthenticationSettings value to set.

Returns:

the AuthenticationSettingsContract object itself.

Applies to