@Override
    protected Event doExecuteInternal(final RequestContext requestContext) throws Exception {
        val tgt = WebUtils.getTicketGrantingTicketId(requestContext);
        val id = requestContext.getRequestParameters().get("id", String.class);
        ticketRegistry.deleteTicket(id);
        return tgt.equals(id) ? new Event(this, CasWebflowConstants.TRANSITION_ID_VALIDATE) : success();
    }
This is {@link AccountProfileRemoveSingleSignOnSessionAction}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-actions-core/src/main/java/org/apereo/cas/web/flow/account/AccountProfileRemoveSingleSignOnSessionAction.java