Table of Contents

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

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<bool>> Handle(GetForgotPasswordTokenValidity.Query request, CancellationToken cancellationToken)

Parameters

request GetForgotPasswordTokenValidity.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<bool>>

Response from the request