1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 00:03:54 +00:00

created push service using with pushsharp

This commit is contained in:
Kyle Spearrin
2016-06-18 15:08:21 -04:00
parent ca8ba6ac92
commit 25793e0523
6 changed files with 273 additions and 25 deletions

View File

@@ -1,8 +1,4 @@
using StackExchange.Redis.Extensions.Core.Configuration;
using System;
using System.Collections.Generic;
namespace Bit.Core
namespace Bit.Core
{
public class GlobalSettings
{
@@ -13,6 +9,7 @@ namespace Bit.Core
public virtual MailSettings Mail { get; set; } = new MailSettings();
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
public virtual CacheSettings Cache { get; set; } = new CacheSettings();
public virtual PushSettings Push { get; set; } = new PushSettings();
public class SqlServerSettings
{
@@ -36,5 +33,14 @@ namespace Bit.Core
public string ConnectionString { get; set; }
public int Database { get; set; }
}
public class PushSettings
{
public string ApnsCertificateThumbprint { get; set; }
public string ApnsCertificatePassword { get; set; }
public string GcmSenderId { get; set; }
public string GcmApiKey { get; set; }
public string GcmAppPackageName { get; set; }
}
}
}