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
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<AuthenticationSchemeDto>> Handle(GetAuthenticationSchemeByName.Query request, CancellationToken cancellationToken)
Parameters
request
GetAuthenticationSchemeByName.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<AuthenticationSchemeDto>>
Response from the request