femto-backend/Femto.Modules.Auth/Application/Interface/ValidateSession/ValidateSessionCommand.cs
2025-05-29 00:39:40 +02:00

10 lines
465 B
C#

using Femto.Common.Domain;
using Femto.Modules.Auth.Application.Dto;
namespace Femto.Modules.Auth.Application.Interface.ValidateSession;
/// <summary>
/// Validate an existing session, and then return either the current session, or a new one in case the expiry is further in the future
/// </summary>
/// <param name="SessionId"></param>
public record ValidateSessionCommand(string SessionId, UserInfo User, string? RememberMe) : ICommand<ValidateSessionResult>;