Share via


AuthenticationSettingsContract Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract

public class AuthenticationSettingsContract

API Authentication Settings.

Constructor Summary

Constructor Description
AuthenticationSettingsContract()

Method Summary

Modifier and Type Method and Description
OAuth2AuthenticationSettingsContract oAuth2()

Get oAuth2 Authentication settings.

OpenIdAuthenticationSettingsContract openid()

Get openID Connect Authentication Settings.

java.lang.Boolean subscriptionKeyRequired()

Get specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.

AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)

Set oAuth2 Authentication settings.

AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)

Set openID Connect Authentication Settings.

AuthenticationSettingsContract withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)

Set specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AuthenticationSettingsContract

public AuthenticationSettingsContract()

Method Details

oAuth2

public OAuth2AuthenticationSettingsContract oAuth2()

Get oAuth2 Authentication settings.

Returns:

the oAuth2 value

openid

public OpenIdAuthenticationSettingsContract openid()

Get openID Connect Authentication Settings.

Returns:

the openid value

subscriptionKeyRequired

public Boolean subscriptionKeyRequired()

Get specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.

Returns:

the subscriptionKeyRequired value

withOAuth2

public AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)

Set oAuth2 Authentication settings.

Parameters:

oAuth2 - the oAuth2 value to set

Returns:

the AuthenticationSettingsContract object itself.

withOpenid

public AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)

Set openID Connect Authentication Settings.

Parameters:

openid - the openid value to set

Returns:

the AuthenticationSettingsContract object itself.

withSubscriptionKeyRequired

public AuthenticationSettingsContract withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)

Set specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.

Parameters:

subscriptionKeyRequired - the subscriptionKeyRequired value to set

Returns:

the AuthenticationSettingsContract object itself.

Applies to