18 lines
556 B
C#
18 lines
556 B
C#
using LanguageExt.Common;
|
|
using W542.GandalfReborn.Data.Dto;
|
|
|
|
namespace W542.GandalfReborn.Commands;
|
|
|
|
public class AuthCodeRequestCommand : IGrCommand<Result<AuthCodeDto>>
|
|
{
|
|
public required string UsernameOrEmail { get; set; }
|
|
public required string Password { get; set; }
|
|
public required string CodeChallenge { get; set; }
|
|
public required string Algorithm { get; set; }
|
|
};
|
|
|
|
public class GetTokensCommand : IGrCommand<Result<TokenDto>>
|
|
{
|
|
public required string AuthCode { get; set; }
|
|
public required string ProofKey { get; set; }
|
|
}; |