@Override
    protected Event doExecuteInternal(final RequestContext requestContext) {
        val tgt = WebUtils.getTicketGrantingTicket(requestContext);
        if (tgt instanceof final AuthenticationAwareTicket aat) {
            val criteria = TicketRegistryQueryCriteria
                .builder()
                .type(OAuth20AccessToken.PREFIX)
                .decode(Boolean.TRUE)
                .principal(aat.getAuthentication().getPrincipal().getId())
                .build();
            val accessTokens = ticketRegistry.query(criteria)
                .stream()
                .map(OAuth20AccessToken.class::cast)
                .map(AccountOAuth20AccessToken::new)
                .toList();
            requestContext.getFlowScope().put("oidcAccessTokens", accessTokens);
        }
        return null;
    }
This is {@link OidcAccountProfileAccessTokenAction}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/flow/account/OidcAccountProfileAccessTokenAction.java