mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Refactor token handling, support server-initiated pairing
This commit is contained in:
@@ -6,7 +6,7 @@ using NBitcoin;
|
||||
|
||||
namespace BTCPayServer.Models
|
||||
{
|
||||
public class PairingCodeRequest
|
||||
public class TokenRequest
|
||||
{
|
||||
[JsonProperty(PropertyName = "id")]
|
||||
public string Id
|
||||
@@ -34,6 +34,12 @@ namespace BTCPayServer.Models
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[JsonProperty(PropertyName = "pairingCode")]
|
||||
public string PairingCode
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
|
||||
public class PairingCodeResponse
|
||||
|
||||
Reference in New Issue
Block a user