mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
apple iap service
This commit is contained in:
@ -1,9 +1,15 @@
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.Services
|
||||
{
|
||||
public interface IAppleIapService
|
||||
{
|
||||
Task<bool> VerifyReceiptAsync(string receiptData);
|
||||
Task<string> GetVerifiedLastTransactionIdAsync(string receiptData);
|
||||
Task<DateTime?> GetVerifiedLastExpiresDateAsync(string receiptData);
|
||||
string HashReceipt(string receiptData);
|
||||
Task SaveReceiptAsync(string receiptData);
|
||||
Task<string> GetReceiptAsync(string hash);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user