/// <summary> /// Initializes a new instance of the AuthenticationSettingsContract /// class. /// </summary> /// <param name="oAuth2">OAuth2 Authentication settings</param> /// <param name="openid">OpenID Connect Authentication Settings</param> /// <param name="subscriptionKeyRequired">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.</param> public AuthenticationSettingsContract(OAuth2AuthenticationSettingsContract oAuth2 = default(OAuth2AuthenticationSettingsContract), OpenIdAuthenticationSettingsContract openid = default(OpenIdAuthenticationSettingsContract), bool?subscriptionKeyRequired = default(bool?)) { OAuth2 = oAuth2; Openid = openid; SubscriptionKeyRequired = subscriptionKeyRequired; CustomInit(); }
/// <summary> /// Initializes a new instance of the AuthenticationSettingsContract /// class. /// </summary> /// <param name="oAuth2">OAuth2 Authentication settings</param> /// <param name="openid">OpenID Connect Authentication Settings</param> public AuthenticationSettingsContract(OAuth2AuthenticationSettingsContract oAuth2 = default(OAuth2AuthenticationSettingsContract), OpenIdAuthenticationSettingsContract openid = default(OpenIdAuthenticationSettingsContract)) { OAuth2 = oAuth2; Openid = openid; CustomInit(); }