Table of Contents

Class GetAuthenticationSchemeById.Handler

Namespace
Raytha.Application.AuthenticationSchemes.Queries
Assembly
Raytha.Application.dll
public class GetAuthenticationSchemeById.Handler : IRequestHandler<GetAuthenticationSchemeById.Query, IQueryResponseDto<AuthenticationSchemeDto>>
Inheritance
GetAuthenticationSchemeById.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<AuthenticationSchemeDto>> Handle(GetAuthenticationSchemeById.Query request, CancellationToken cancellationToken)

Parameters

request GetAuthenticationSchemeById.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<AuthenticationSchemeDto>>

Response from the request