Class GetForgotPasswordTokenValidity.Handler
- Namespace
- Raytha.Application.Login.Queries
- Assembly
- Raytha.Application.dll
public class GetForgotPasswordTokenValidity.Handler : IRequestHandler<GetForgotPasswordTokenValidity.Query, IQueryResponseDto<bool>>
- Inheritance
-
GetForgotPasswordTokenValidity.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)
Parameters
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<bool>> Handle(GetForgotPasswordTokenValidity.Query request, CancellationToken cancellationToken)
Parameters
request
GetForgotPasswordTokenValidity.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<bool>>
Response from the request