1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-28 16:22:22 -05:00
bitwarden/src/Api/IdentityServer/AllowAllCorsPolicyService.cs
2017-03-16 22:04:02 -04:00

14 lines
303 B
C#

using IdentityServer4.Services;
using System.Threading.Tasks;
namespace Bit.Api.IdentityServer
{
public class AllowAllCorsPolicyService : ICorsPolicyService
{
public Task<bool> IsOriginAllowedAsync(string origin)
{
return Task.FromResult(true);
}
}
}