protected Ticket createTicketGrantingTicketForRequest(final MultiValueMap<String, String> requestBody,
                                                          final HttpServletRequest request,
                                                          final HttpServletResponse response) throws Throwable {
        val authenticationResult = authenticationService.authenticate(requestBody, request, response);
        val result = authenticationResult.orElseThrow(FailedLoginException::new);
        return centralAuthenticationService.createTicketGrantingTicket(result);
    }
Destroy ticket granting ticket.

@param tgtId    ticket granting ticket id URI path param
@param request  the request
@param response the response
@return {@link ResponseEntity} representing RESTful response. Signals {@link HttpStatus#OK} when successful.
support/cas-server-support-rest-core/src/main/java/org/apereo/cas/support/rest/resources/TicketGrantingTicketResource.java