private String getTicketGrantingTicket(final RequestContext context) {
        val tgtId = WebUtils.getTicketGrantingTicketId(context);
        if (StringUtils.isBlank(tgtId)) {
            val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
            return this.ticketGrantingTicketCookieGenerator.retrieveCookieValue(request);
        }
        return tgtId;
    }
Confirm logout action once the confirmation view is displayed.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-actions-core/src/main/java/org/apereo/cas/web/flow/logout/ConfirmLogoutAction.java