private static <K, V> Cache<K, V> newCache(final int cacheSize) {
        return Caffeine.newBuilder().maximumSize(cacheSize)
            .expireAfterAccess(Duration.ofMinutes(5)).build();
    }
This is {@link WebAuthnConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-webauthn/src/main/java/org/apereo/cas/config/WebAuthnConfiguration.java