/// <summary> /// Returns true if ComAdobeGraniteAuthOauthAccesstokenProviderProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteAuthOauthAccesstokenProviderProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteAuthOauthAccesstokenProviderProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( AuthTokenProviderTitle == other.AuthTokenProviderTitle || AuthTokenProviderTitle != null && AuthTokenProviderTitle.Equals(other.AuthTokenProviderTitle) ) && ( AuthTokenProviderDefaultClaims == other.AuthTokenProviderDefaultClaims || AuthTokenProviderDefaultClaims != null && AuthTokenProviderDefaultClaims.Equals(other.AuthTokenProviderDefaultClaims) ) && ( AuthTokenProviderEndpoint == other.AuthTokenProviderEndpoint || AuthTokenProviderEndpoint != null && AuthTokenProviderEndpoint.Equals(other.AuthTokenProviderEndpoint) ) && ( AuthAccessTokenRequest == other.AuthAccessTokenRequest || AuthAccessTokenRequest != null && AuthAccessTokenRequest.Equals(other.AuthAccessTokenRequest) ) && ( AuthTokenProviderKeypairAlias == other.AuthTokenProviderKeypairAlias || AuthTokenProviderKeypairAlias != null && AuthTokenProviderKeypairAlias.Equals(other.AuthTokenProviderKeypairAlias) ) && ( AuthTokenProviderConnTimeout == other.AuthTokenProviderConnTimeout || AuthTokenProviderConnTimeout != null && AuthTokenProviderConnTimeout.Equals(other.AuthTokenProviderConnTimeout) ) && ( AuthTokenProviderSoTimeout == other.AuthTokenProviderSoTimeout || AuthTokenProviderSoTimeout != null && AuthTokenProviderSoTimeout.Equals(other.AuthTokenProviderSoTimeout) ) && ( AuthTokenProviderClientId == other.AuthTokenProviderClientId || AuthTokenProviderClientId != null && AuthTokenProviderClientId.Equals(other.AuthTokenProviderClientId) ) && ( AuthTokenProviderScope == other.AuthTokenProviderScope || AuthTokenProviderScope != null && AuthTokenProviderScope.Equals(other.AuthTokenProviderScope) ) && ( AuthTokenProviderReuseAccessToken == other.AuthTokenProviderReuseAccessToken || AuthTokenProviderReuseAccessToken != null && AuthTokenProviderReuseAccessToken.Equals(other.AuthTokenProviderReuseAccessToken) ) && ( AuthTokenProviderRelaxedSsl == other.AuthTokenProviderRelaxedSsl || AuthTokenProviderRelaxedSsl != null && AuthTokenProviderRelaxedSsl.Equals(other.AuthTokenProviderRelaxedSsl) ) && ( TokenRequestCustomizerType == other.TokenRequestCustomizerType || TokenRequestCustomizerType != null && TokenRequestCustomizerType.Equals(other.TokenRequestCustomizerType) ) && ( AuthTokenValidatorType == other.AuthTokenValidatorType || AuthTokenValidatorType != null && AuthTokenValidatorType.Equals(other.AuthTokenValidatorType) )); }