Skip to main content

handle_close

Function handle_close 

Source
pub async fn handle_close(
    req: HttpRequest,
    state: Data<AppState>,
) -> HttpResponse
Expand description

POST /api/close — revoke the bearer token (logout).

Invalidates the BEARER auth token supplied in the Authorization header and returns an empty grid on success.