mirror of
https://github.com/bitwarden/server
synced 2025-12-20 18:23:44 +00: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