POC big step
Some checks failed
Build, Push and Run Container / build (push) Failing after 33s

This commit is contained in:
2025-08-12 15:37:07 +02:00
parent efbcbd0915
commit 183d71e203
12 changed files with 12644 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
namespace ProofOfConcept.Models;
public record Token
{
public string AccessToken { get; init; }
public DateTimeOffset Expires { get; init; }
public string TokenType { get; init; }
public Token(string AccessToken, int ExpiresIn, string TokenType, DateTimeOffset? received = null)
{
this.AccessToken = AccessToken;
this.Expires = received?.AddSeconds(ExpiresIn) ?? DateTimeOffset.Now.AddSeconds(ExpiresIn);
this.TokenType = TokenType;
}
}