feat: add authorize in OAuth
This commit is contained in:
12
Security/Common/Domain/OAuth2/OAuthTokenResponse.cs
Normal file
12
Security/Common/Domain/OAuth2/OAuthTokenResponse.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Mirea.Api.Security.Common.Domain.OAuth2;
|
||||
|
||||
public class OAuthTokenResponse
|
||||
{
|
||||
[JsonPropertyName("access_token")]
|
||||
public required string AccessToken { get; set; }
|
||||
|
||||
[JsonPropertyName("expires_in")]
|
||||
public int ExpiresIn { get; set; }
|
||||
}
|
Reference in New Issue
Block a user