mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
44 lines
732 B
C#
44 lines
732 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Security.Bitpay
|
|
{
|
|
public class PairingCodeEntity
|
|
{
|
|
public string Id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string Label
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string SIN
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public DateTimeOffset CreatedTime
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public DateTimeOffset Expiration
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string TokenValue
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool IsExpired()
|
|
{
|
|
return DateTimeOffset.UtcNow > Expiration;
|
|
}
|
|
}
|
|
}
|