MCPcopy Create free account
hub / github.com/actix/examples / logout

Function logout

auth/simple-auth-server/src/auth_handler.rs:43–46  ·  view source on GitHub ↗
(id: Identity)

Source from the content-addressed store, hash-verified

41
42pub async fn logout(id: Identity) -> HttpResponse {
43 id.logout();
44 HttpResponse::NoContent().finish()
45}
46
47pub async fn login(
48 req: HttpRequest,
49 auth_data: web::Json<AuthData>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected