mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-22 18:29:31 +00:00
0fe9f9957c
* Setup OAuth2 support * Setup tests project * Setup OAuth2 unit tests in CI pipeline * Setup authorizeattribute tests * Test * Setup tests for AuthorizeAttribute * Setup OAuth2 support Unit Tests coverage * Add OAuth2 project to release
14 lines
284 B
C#
14 lines
284 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace MTSC.OAuth2.Models
|
|
{
|
|
public sealed class AccessTokenResponse
|
|
{
|
|
[JsonProperty("access_token")]
|
|
public string AccessToken { get; set; }
|
|
|
|
[JsonProperty("expires_in")]
|
|
public int ExpiresIn { get; set; }
|
|
}
|
|
}
|