#[permit_all]Expand description
Marks an endpoint as publicly accessible (no authentication required).
§Spring Security / Java EE Equivalent
@PermitAll
§Usage
ⓘ
use actix_security_codegen::permit_all;
#[permit_all]
#[get("/public")]
async fn public_endpoint() -> impl Responder {
HttpResponse::Ok().body("Public content")
}§Note
This macro simply passes through to the original function. No authentication or authorization checks are performed.