mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00
14 lines
360 B
C#
14 lines
360 B
C#
using System.Collections.Concurrent;
|
|
|
|
namespace Bit.Core.Services;
|
|
|
|
public class PhishingDomainService : IPhishingDomainService
|
|
{
|
|
private readonly ConcurrentDictionary<string, byte> _phishingDomains = new();
|
|
|
|
public Task<IEnumerable<string>> GetPhishingDomainsAsync()
|
|
{
|
|
return Task.FromResult(_phishingDomains.Keys.AsEnumerable());
|
|
}
|
|
}
|