feat: add auth token
This commit is contained in:
		
							
								
								
									
										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; }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user