### YamlMime:JavaType uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract" name: "AuthenticationSettingsContract" nameWithType: "AuthenticationSettingsContract" summary: "API Authentication Settings." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **AuthenticationSettingsContract**" constructors: - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.AuthenticationSettingsContract()" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.AuthenticationSettingsContract()" name: "AuthenticationSettingsContract()" nameWithType: "AuthenticationSettingsContract.AuthenticationSettingsContract()" syntax: "public AuthenticationSettingsContract()" methods: - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.oAuth2()" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.oAuth2()" name: "oAuth2()" nameWithType: "AuthenticationSettingsContract.oAuth2()" summary: "Get oAuth2 Authentication settings." syntax: "public OAuth2AuthenticationSettingsContract oAuth2()" desc: "Get oAuth2 Authentication settings." returns: description: "the oAuth2 value" type: "" - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.openid()" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.openid()" name: "openid()" nameWithType: "AuthenticationSettingsContract.openid()" summary: "Get openID Connect Authentication Settings." syntax: "public OpenIdAuthenticationSettingsContract openid()" desc: "Get openID Connect Authentication Settings." returns: description: "the openid value" type: "" - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.subscriptionKeyRequired()" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.subscriptionKeyRequired()" name: "subscriptionKeyRequired()" nameWithType: "AuthenticationSettingsContract.subscriptionKeyRequired()" summary: "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." syntax: "public Boolean subscriptionKeyRequired()" desc: "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: description: "the subscriptionKeyRequired value" type: "" - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withOAuth2(com.microsoft.azure.management.apimanagement.v2019_01_01.OAuth2AuthenticationSettingsContract)" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)" name: "withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)" nameWithType: "AuthenticationSettingsContract.withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)" summary: "Set oAuth2 Authentication settings." parameters: - description: "the oAuth2 value to set" name: "oAuth2" type: "" syntax: "public AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)" desc: "Set oAuth2 Authentication settings." returns: description: "the AuthenticationSettingsContract object itself." type: "" - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withOpenid(com.microsoft.azure.management.apimanagement.v2019_01_01.OpenIdAuthenticationSettingsContract)" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withOpenid(OpenIdAuthenticationSettingsContract openid)" name: "withOpenid(OpenIdAuthenticationSettingsContract openid)" nameWithType: "AuthenticationSettingsContract.withOpenid(OpenIdAuthenticationSettingsContract openid)" summary: "Set openID Connect Authentication Settings." parameters: - description: "the openid value to set" name: "openid" type: "" syntax: "public AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)" desc: "Set openID Connect Authentication Settings." returns: description: "the AuthenticationSettingsContract object itself." type: "" - uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withSubscriptionKeyRequired(java.lang.Boolean)" fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.AuthenticationSettingsContract.withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)" name: "withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)" nameWithType: "AuthenticationSettingsContract.withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)" summary: "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: - description: "the subscriptionKeyRequired value to set" name: "subscriptionKeyRequired" type: "" syntax: "public AuthenticationSettingsContract withSubscriptionKeyRequired(Boolean subscriptionKeyRequired)" desc: "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." returns: description: "the AuthenticationSettingsContract object itself." type: "" type: "class" desc: "API Authentication Settings." metadata: {} package: "com.microsoft.azure.management.apimanagement.v2019_01_01" artifact: com.microsoft.azure.apimanagement.v2019_01_01:azure-mgmt-apimanagement:1.0.0-beta-1