refresh user
This commit is contained in:
parent
4e24796a5d
commit
0d34774059
12 changed files with 141 additions and 32 deletions
|
@ -2,4 +2,9 @@ using Femto.Modules.Auth.Models;
|
|||
|
||||
namespace Femto.Modules.Auth.Application.Dto;
|
||||
|
||||
public record Session(string SessionId, DateTimeOffset Expires);
|
||||
public record Session(string SessionId, DateTimeOffset Expires)
|
||||
{
|
||||
internal Session(UserSession session) : this(session.Id, session.Expires)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue