Table of Contents

Class GetAuthenticationSchemeByName.Handler

Namespace
Raytha.Application.AuthenticationSchemes.Queries
Assembly
Raytha.Application.dll
public class GetAuthenticationSchemeByName.Handler : IRequestHandler<GetAuthenticationSchemeByName.Query, IQueryResponseDto<AuthenticationSchemeDto>>
Inheritance
GetAuthenticationSchemeByName.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(GetAuthenticationSchemeByName.Query request, CancellationToken cancellationToken)

Parameters

request GetAuthenticationSchemeByName.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<AuthenticationSchemeDto>>

Response from the request