33 lines
775 B
C#
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; }
|
|
}
|
|
}
|
|
|