@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        registerSerializationHints(hints,
            OAuthRegisteredService.class,
            BaseOAuth20Token.class,
            OAuth20DefaultAccessToken.class,
            OAuth20DefaultCode.class,
            OAuth20DefaultRefreshToken.class,
            OAuth20DefaultDeviceToken.class,
            OAuth20DefaultDeviceUserCode.class);

        registerReflectionHints(hints, List.of(
            OAuthRegisteredService.class,
            OAuth20RegisteredServiceCipherExecutor.class,
            OAuth20JwtAccessTokenCipherExecutor.class,
            OAuth20RegisteredServiceJwtAccessTokenCipherExecutor.class,
            OAuth20DistributedSessionCookieCipherExecutor.class
        ));
    }
This is {@link CasOAuth20RuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oauth-webflow/src/main/java/org/apereo/cas/nativex/CasOAuth20RuntimeHints.java