1 implementation of ForbidAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
131public virtual async Task ForbidAsync(HttpContext context, string? scheme, AuthenticationProperties? properties)
6 references to ForbidAsync
Microsoft.AspNetCore.Authentication.Abstractions (4)
AuthenticationHttpContextExtensions.cs (1)
116GetAuthenticationService(context).ForbidAsync(context, scheme, properties);
AuthenticationOptions.cs (1)
89/// Used as the default scheme by <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
IAuthenticationSchemeProvider.cs (2)
43/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>. 47/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
Microsoft.AspNetCore.Authentication.Core (2)
AuthenticationSchemeProvider.cs (2)
85/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>. 89/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>