1 implementation of GetHandlerAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationHandlerProvider.cs (1)
37public async Task<IAuthenticationHandler?> GetHandlerAsync(HttpContext context, string authenticationScheme)
6 references to GetHandlerAsync
Microsoft.AspNetCore.Authentication (1)
AuthenticationMiddleware.cs (1)
52var handler = await handlers.GetHandlerAsync(context, scheme.Name) as IAuthenticationRequestHandler;
Microsoft.AspNetCore.Authentication.Core (5)
AuthenticationService.cs (5)
75var handler = await Handlers.GetHandlerAsync(context, scheme) ?? throw await CreateMissingHandlerException(scheme); 120var handler = await Handlers.GetHandlerAsync(context, scheme) ?? throw await CreateMissingHandlerException(scheme); 143var handler = await Handlers.GetHandlerAsync(context, scheme) ?? throw await CreateMissingHandlerException(scheme); 181var handler = await Handlers.GetHandlerAsync(context, scheme) ?? throw await CreateMissingSignInHandlerException(scheme); 209var handler = await Handlers.GetHandlerAsync(context, scheme) ?? throw await CreateMissingSignOutHandlerException(scheme);