Class ForgotPasswordRequest
Represents a request for initiating the forgot password process.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class ForgotPasswordRequest : RequestBase, IRequestBase, IValidatableObject
Properties
| Edit this page View SourceUserName
Gets or sets the username associated with the user who forgot their password.
Declaration
[Required]
public virtual string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Validates the ForgotPasswordRequest instance.
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 errors, if any. |