C# 클래스 Bit.Core.Services.PushSharpPushService

상속: IPushService
파일 보기 프로젝트 열기: bitwarden/core

공개 메소드들

메소드 설명
PushSharpPushService ( IDeviceRepository deviceRepository, ILogger logger, CurrentContext currentContext, IHostingEnvironment hostingEnvironment, GlobalSettings globalSettings ) : System
PushSyncCipherCreateAsync ( Cipher cipher ) : System.Threading.Tasks.Task
PushSyncCipherDeleteAsync ( Cipher cipher ) : System.Threading.Tasks.Task
PushSyncCipherUpdateAsync ( Cipher cipher ) : System.Threading.Tasks.Task
PushSyncCiphersAsync ( System.Guid userId ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
ApnsBroker_OnNotificationFailed ( PushSharp.Apple.ApnsNotification notification, AggregateException exception ) : void
FeedbackService_FeedbackReceived ( string deviceToken, System.DateTime timestamp ) : void
GcmBroker_OnNotificationFailed ( PushSharp.Google.GcmNotification notification, AggregateException exception ) : void
GetCertificate ( string thumbprint ) : X509Certificate2
InitApnsBroker ( GlobalSettings globalSettings, IHostingEnvironment hostingEnvironment ) : void
InitGcmBroker ( GlobalSettings globalSettings ) : void
PushCipherAsync ( Cipher cipher, PushType type ) : System.Threading.Tasks.Task
PushToAllUserDevicesAsync ( System.Guid userId, Newtonsoft.Json.Linq.JObject message, IEnumerable tokensToSkip ) : System.Threading.Tasks.Task

메소드 상세

PushSharpPushService() 공개 메소드

public PushSharpPushService ( IDeviceRepository deviceRepository, ILogger logger, CurrentContext currentContext, IHostingEnvironment hostingEnvironment, GlobalSettings globalSettings ) : System
deviceRepository IDeviceRepository
logger ILogger
currentContext CurrentContext
hostingEnvironment IHostingEnvironment
globalSettings GlobalSettings
리턴 System

PushSyncCipherCreateAsync() 공개 메소드

public PushSyncCipherCreateAsync ( Cipher cipher ) : System.Threading.Tasks.Task
cipher Cipher
리턴 System.Threading.Tasks.Task

PushSyncCipherDeleteAsync() 공개 메소드

public PushSyncCipherDeleteAsync ( Cipher cipher ) : System.Threading.Tasks.Task
cipher Cipher
리턴 System.Threading.Tasks.Task

PushSyncCipherUpdateAsync() 공개 메소드

public PushSyncCipherUpdateAsync ( Cipher cipher ) : System.Threading.Tasks.Task
cipher Cipher
리턴 System.Threading.Tasks.Task

PushSyncCiphersAsync() 공개 메소드

public PushSyncCiphersAsync ( System.Guid userId ) : System.Threading.Tasks.Task
userId System.Guid
리턴 System.Threading.Tasks.Task