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