5 instantiations of AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationEndpointConventionBuilderExtensions.cs (1)
14
private static readonly IAllowAnonymous _allowAnonymousMetadata = new
AllowAnonymousAttribute
();
Microsoft.AspNetCore.Mvc.RazorPages (4)
DependencyInjection\PageConventionCollectionExtensions.cs (4)
80
model.EndpointMetadata.Add(new
AllowAnonymousAttribute
());
116
model.EndpointMetadata.Add(new
AllowAnonymousAttribute
());
141
model.EndpointMetadata.Add(new
AllowAnonymousAttribute
());
177
model.EndpointMetadata.Add(new
AllowAnonymousAttribute
());
1 reference to AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationEndpointConventionBuilderExtensions.cs (1)
120
/// Allows anonymous access to the endpoint by adding <see cref="
AllowAnonymousAttribute
" /> to the endpoint metadata. This will bypass