You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
425 B
17 lines
425 B
using System.Diagnostics.CodeAnalysis; |
|
using Bit.Core.Auth.Entities; |
|
|
|
namespace Bit.Infrastructure.EFIntegration.Test.Auth.Repositories.EqualityComparers; |
|
|
|
public class SsoUserCompare : IEqualityComparer<SsoUser> |
|
{ |
|
public bool Equals(SsoUser x, SsoUser y) |
|
{ |
|
return x.ExternalId == y.ExternalId; |
|
} |
|
|
|
public int GetHashCode([DisallowNull] SsoUser obj) |
|
{ |
|
return base.GetHashCode(); |
|
} |
|
}
|
|
|