Table of Contents

Class ChangePasswordCommand

Namespace
KadicAuth.Application.Users.Commands
Assembly
KadicAuth.Application.dll
public sealed record ChangePasswordCommand : IRequest<Result<string>>, IBaseRequest
Inheritance
object
ChangePasswordCommand
Implements
IRequest<Result<string>>
IBaseRequest

Constructors

ChangePasswordCommand(Guid, string, string)

public ChangePasswordCommand(Guid UserId, string CurrentPassword, string NewPassword)

Parameters

UserId Guid
CurrentPassword string
NewPassword string

Properties

CurrentPassword

public string CurrentPassword { get; init; }

Property Value

string

NewPassword

public string NewPassword { get; init; }

Property Value

string

UserId

public Guid UserId { get; init; }

Property Value

Guid