37 instantiations of AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationEndpointConventionBuilderExtensions.cs (1)
14private static readonly IAllowAnonymous _allowAnonymousMetadata = new AllowAnonymousAttribute();
Microsoft.AspNetCore.Identity.UI (32)
Areas\Identity\Pages\V4\Account\ConfirmEmail.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ConfirmEmailChange.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
21[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
18[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ForgotPasswordConfirmation.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V4\Account\Lockout.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
19[AllowAnonymous]
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V4\Account\Logout.cshtml.cs (1)
15[AllowAnonymous]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
22[AllowAnonymous]
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
18[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V4\Account\ResetPasswordConfirmation.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V4\Error.cshtml.cs (1)
15[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ConfirmEmail.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ConfirmEmailChange.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
21[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
18[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ForgotPasswordConfirmation.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V5\Account\Lockout.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
19[AllowAnonymous]
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V5\Account\Logout.cshtml.cs (1)
15[AllowAnonymous]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
22[AllowAnonymous]
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
16[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
18[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
17[AllowAnonymous]
Areas\Identity\Pages\V5\Account\ResetPasswordConfirmation.cshtml.cs (1)
13[AllowAnonymous]
Areas\Identity\Pages\V5\Error.cshtml.cs (1)
15[AllowAnonymous]
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