Class ConfirmForgotPasswordRequest
Represents a request to confirm a forgotten password, including a password reset operation.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class ConfirmForgotPasswordRequest : RequestBase, IRequestBase, IValidatableObject
Properties
| Edit this page View SourceConfirmPassword
Gets or sets the confirmation of the new password.
Declaration
[Required]
public string ConfirmPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
ConfirmationCode
Gets or sets the confirmation code used for password reset.
Declaration
[Required]
public string ConfirmationCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Password
Gets or sets the new password for the user.
Declaration
[Required]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
UserName
Gets or sets the user's username.
Declaration
[Required]
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Validates the properties of the ConfirmForgotPasswordRequest object.
Declaration
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | The validation context. |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | An IEnumerable<T> containing validation results. |