1 instantiation of ForbiddenContext
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
351
var forbiddenContext = new
ForbiddenContext
(Context, Scheme, Options);
4 references to ForbiddenContext
Microsoft.AspNetCore.Authentication.JwtBearer (4)
ForbiddenContext.cs (1)
14
/// Initializes a new instance of <see cref="
ForbiddenContext
"/>.
JwtBearerEvents.cs (2)
19
public Func<
ForbiddenContext
, Task> OnForbidden { get; set; } = context => Task.CompletedTask;
44
public virtual Task Forbidden(
ForbiddenContext
context) => OnForbidden(context);
JwtBearerHandler.cs (1)
351
var
forbiddenContext = new ForbiddenContext(Context, Scheme, Options);