Owneat Technical Guide main Help

Class ChangePasswordCommand

Namespace: Identity.Application.Requests.Handlers.User
Assembly: Identity.Application.dll

Command that contains new and previous password.

public sealed class ChangePasswordCommand : IRequest<Result<PasswordChangedDto>>, IBaseRequest

Inheritance

object ← ChangePasswordCommand

Implements

IRequest<Result<PasswordChangedDto\>\>, IBaseRequest

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Properties

CurrentPassword

[Required] [StringLength(200)] public string CurrentPassword { get; init; }

Property Value

string

Id

[JsonIgnore] public Guid Id { get; set; }

Property Value

Guid

NewPassword

[Required] [StringLength(200)] public string NewPassword { get; init; }

Property Value

string

Last modified: 21 May 2024