5 instantiations of AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationEndpointConventionBuilderExtensions.cs (1)
14private static readonly IAllowAnonymous _allowAnonymousMetadata = new AllowAnonymousAttribute();
Microsoft.AspNetCore.Mvc.RazorPages (4)
DependencyInjection\PageConventionCollectionExtensions.cs (4)
80model.EndpointMetadata.Add(new AllowAnonymousAttribute()); 116model.EndpointMetadata.Add(new AllowAnonymousAttribute()); 141model.EndpointMetadata.Add(new AllowAnonymousAttribute()); 177model.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