femto-backend/Femto.Modules.Auth/Application/Commands/ValidateSession/ValidateSessionCommand.cs
2025-05-15 17:47:20 +02:00

10 lines
429 B
C#

using Femto.Common.Domain;
using Femto.Modules.Auth.Application.Dto;
namespace Femto.Modules.Auth.Application.Commands.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) : ICommand<ValidateSessionResult>;