sec: return the token instead of performing actions with the user

This commit is contained in:
2024-12-26 08:51:22 +03:00
parent dcdd43469b
commit 43edab2912
3 changed files with 104 additions and 91 deletions
Endpoint/Controllers/V1
Security

@ -0,0 +1,11 @@
using System;
namespace Mirea.Api.Security.Common.Domain;
public class LoginOAuthResult
{
public bool Success { get; set; }
public required string Token { get; set; }
public Uri? Callback { get; set; }
public string? ErrorMessage { get; set; }
}