Class ResetPasswordModel
Inheritance
System.Object
ResetPasswordModel
Assembly: Volo.Abp.Account.Web.dll
Syntax
public class ResetPasswordModel : AccountPageModel
Constructors
ResetPasswordModel(ITenantResolveResultAccessor)
Declaration
public ResetPasswordModel(ITenantResolveResultAccessor tenantResolveResultAccessor)
Parameters
| Type |
Name |
Description |
| ITenantResolveResultAccessor |
tenantResolveResultAccessor |
|
Properties
ConfirmPassword
Declaration
[Required]
[BindProperty]
[DataType(DataType.Password)]
public string ConfirmPassword { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Password
Declaration
[Required]
[BindProperty]
[DataType(DataType.Password)]
public string Password { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ResetToken
Declaration
[Required]
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ResetToken { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ReturnUrl
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ReturnUrlHash
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ReturnUrlHash { get; set; }
Property Value
| Type |
Description |
| System.String |
|
TenantId
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public Guid? TenantId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Guid> |
|
TenantResolveResultAccessor
Declaration
protected virtual ITenantResolveResultAccessor TenantResolveResultAccessor { get; }
Property Value
| Type |
Description |
| ITenantResolveResultAccessor |
|
UserId
Declaration
[Required]
[HiddenInput]
[BindProperty(SupportsGet = true)]
public Guid UserId { get; set; }
Property Value
| Type |
Description |
| System.Guid |
|
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|
ValidateModel()
Declaration
protected override void ValidateModel()
Extension Methods