protected Ticket getTicketGrantingTicket(final ProfileManager manager, final HttpServletRequest request) {
        return CookieUtils.getTicketGrantingTicketFromRequest(
            ticketGrantingTicketCookieGenerator, ticketRegistry, request);
    }
Specific OAuth security logic to "synchronize the CAS and pac4j sessions".

@author Jerome LELEU
@since 6.5.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/OAuth20TicketGrantingTicketAwareSecurityLogic.java