Knocks/BackEnd/Knoks.Core/Entities/Args/ResetPasswordArgs.cs

33 lines
775 B
C#

using Knoks.Framework.DataAccess;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
namespace Knoks.Core.Entities.Args
{
public class RetrievePasswordArgs : IApiArgs
{
[JsonIgnore, AutoInitField]
public string HttpRequestInfo { get; set; }
[JsonIgnore, AutoInitField]
public int ApiConsumerId { get; set; }
public string Email { get; set; }
public string Url { get; set; }
}
public class CheckTokenArgs : IApiArgs
{
[JsonIgnore, AutoInitField]
public string HttpRequestInfo { get; set; }
public string Token { get; set; }
}
public class ResetPasswordArgs : CheckTokenArgs
{
public string NewPassword { get; set; }
}
}