Add hashing and other security features #12
13
Security/Common/Domain/AuthToken.cs
Normal file
13
Security/Common/Domain/AuthToken.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Mirea.Api.Security.Common.Domain;
|
||||||
|
|
||||||
|
public class AuthToken
|
||||||
|
{
|
||||||
|
public required string RefreshToken { get; set; }
|
||||||
|
public required string UserAgent { get; set; }
|
||||||
|
public required string Ip { get; set; }
|
||||||
|
public required string UserId { get; set; }
|
||||||
|
public required string AccessToken { get; set; }
|
||||||
|
public DateTime CreatedAt { get; set; }
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user