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