Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class ChangePasswordRequest

    Represents a request to change a user's password, including required parameters and validation.

    Inheritance
    object
    RequestBase
    ChangePasswordRequest
    Implements
    IRequestBase
    IValidatableObject
    Inherited Members
    RequestBase.HttpHeader
    RequestBase.IpAddress
    RequestBase.ServerPath
    RequestBase.ServerName
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.AWS.Cognito.Model
    Assembly: Innovt.Cloud.AWS.Cognito.dll
    Syntax
    public class ChangePasswordRequest : RequestBase, IRequestBase, IValidatableObject

    Properties

    | Edit this page View Source

    AccessToken

    Gets or sets the access token associated with the user.

    Declaration
    [Required]
    public string AccessToken { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ConfirmProposedPassword

    Gets or sets the confirmation of the proposed new password.

    Declaration
    [Required]
    [StringLength(18, MinimumLength = 4)]
    public string ConfirmProposedPassword { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    PreviousPassword

    Gets or sets the user's previous password.

    Declaration
    [Required]
    [StringLength(20, MinimumLength = 4)]
    public string PreviousPassword { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ProposedPassword

    Gets or sets the proposed new password.

    Declaration
    [Required]
    [StringLength(18, MinimumLength = 4)]
    public string ProposedPassword { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Validate(ValidationContext)

    Validates the properties of the ChangePasswordRequest 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.

    Overrides
    RequestBase.Validate(ValidationContext)

    Implements

    IRequestBase
    IValidatableObject

    Extension Methods

    Extensions.EnsureIsValid(IValidatableObject, ValidationContext)
    Extensions.IsValid(IValidatableObject, ValidationContext)
    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX