@Override
    public boolean supports(final WebContext context) {
        val configurationContext = getConfigurationContext().getObject();
        val grantType = configurationContext.getRequestParameterResolver()
            .resolveRequestParameter(context, OAuth20Constants.GRANT_TYPE).orElse(StringUtils.EMPTY);
        val authRequestId = configurationContext.getRequestParameterResolver()
            .resolveRequestParameter(context, OidcConstants.AUTH_REQ_ID);
        return OAuth20Utils.isGrantType(grantType, getGrantType()) && authRequestId.isPresent();
    }
This is {@link AccessTokenCibaGrantRequestExtractor}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/token/ciba/AccessTokenCibaGrantRequestExtractor.java