services/src/main/java/org/keycloak/services/resources/admin/RealmAdminResource.java
/**
     * Removes all user sessions.  Any client that has an admin url will also be told to invalidate any sessions
     * they have.
     *
     */
Removes all user sessions.  Any client that has an admin url will also be told to invalidate any sessions
they have.
Removes all user sessions . Any client that has an admin url will also be told to invalidate any sessions they have .
@Path("logout-all")
    @POST
    public GlobalRequestResult logoutAll() {
        session.sessions().removeUserSessions(realm);
        adminEvent.operation(OperationType.ACTION).resourcePath(uriInfo).success();
        return new ResourceAdminManager(session).logoutAll(uriInfo.getRequestUri(), realm);
    }
@ Path ( "logout-all" ) @ POST public GlobalRequestResult logoutAll ( ) { session . sessions ( ) . removeUserSessions ( realm ) ; adminEvent . operation ( OperationType . ACTION ) . resourcePath ( uriInfo ) . success ( ) ; return new ResourceAdminManager ( session ) . logoutAll ( uriInfo . getRequestUri ( ) , realm ) ; }
Removes all user sessions.
Removes all user sessions .