feat(core): add shared auth models for encrypted login

This commit is contained in:
Joseph Doherty
2026-01-03 08:09:00 -05:00
parent 26ff8d9b4f
commit 15b292a6f7
5 changed files with 43 additions and 40 deletions
@@ -0,0 +1,14 @@
using JdeScoping.Core.Models;
namespace JdeScoping.Core.Models.Auth;
/// <summary>
/// Result returned from login API endpoint.
/// </summary>
/// <param name="Success">Whether authentication succeeded</param>
/// <param name="ErrorMessage">Error message if failed</param>
/// <param name="User">User info if successful</param>
public record LoginResultModel(
bool Success,
string? ErrorMessage,
UserInfo? User);