/// <summary> /// Returns true if ComAdobeGraniteAuthOauthProviderProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteAuthOauthProviderProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteAuthOauthProviderProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( OauthConfigId == other.OauthConfigId || OauthConfigId != null && OauthConfigId.Equals(other.OauthConfigId) ) && ( OauthClientId == other.OauthClientId || OauthClientId != null && OauthClientId.Equals(other.OauthClientId) ) && ( OauthClientSecret == other.OauthClientSecret || OauthClientSecret != null && OauthClientSecret.Equals(other.OauthClientSecret) ) && ( OauthScope == other.OauthScope || OauthScope != null && OauthScope.Equals(other.OauthScope) ) && ( OauthConfigProviderId == other.OauthConfigProviderId || OauthConfigProviderId != null && OauthConfigProviderId.Equals(other.OauthConfigProviderId) ) && ( OauthCreateUsers == other.OauthCreateUsers || OauthCreateUsers != null && OauthCreateUsers.Equals(other.OauthCreateUsers) ) && ( OauthUseridProperty == other.OauthUseridProperty || OauthUseridProperty != null && OauthUseridProperty.Equals(other.OauthUseridProperty) ) && ( ForceStrictUsernameMatching == other.ForceStrictUsernameMatching || ForceStrictUsernameMatching != null && ForceStrictUsernameMatching.Equals(other.ForceStrictUsernameMatching) ) && ( OauthEncodeUserids == other.OauthEncodeUserids || OauthEncodeUserids != null && OauthEncodeUserids.Equals(other.OauthEncodeUserids) ) && ( OauthHashUserids == other.OauthHashUserids || OauthHashUserids != null && OauthHashUserids.Equals(other.OauthHashUserids) ) && ( OauthCallBackUrl == other.OauthCallBackUrl || OauthCallBackUrl != null && OauthCallBackUrl.Equals(other.OauthCallBackUrl) ) && ( OauthAccessTokenPersist == other.OauthAccessTokenPersist || OauthAccessTokenPersist != null && OauthAccessTokenPersist.Equals(other.OauthAccessTokenPersist) ) && ( OauthAccessTokenPersistCookie == other.OauthAccessTokenPersistCookie || OauthAccessTokenPersistCookie != null && OauthAccessTokenPersistCookie.Equals(other.OauthAccessTokenPersistCookie) ) && ( OauthCsrfStateProtection == other.OauthCsrfStateProtection || OauthCsrfStateProtection != null && OauthCsrfStateProtection.Equals(other.OauthCsrfStateProtection) ) && ( OauthRedirectRequestParams == other.OauthRedirectRequestParams || OauthRedirectRequestParams != null && OauthRedirectRequestParams.Equals(other.OauthRedirectRequestParams) ) && ( OauthConfigSiblingsAllow == other.OauthConfigSiblingsAllow || OauthConfigSiblingsAllow != null && OauthConfigSiblingsAllow.Equals(other.OauthConfigSiblingsAllow) )); }