private static List<OneTimeTokenAccount> mapFromJson(final String payload) {
        return FunctionUtils.doUnchecked(() -> {
            LOGGER.trace("Mapping JSON value [{}]", payload);
            val json = payload.trim();
            if (StringUtils.isNotBlank(json)) {
                return MAPPER.readValue(json, new TypeReference<>() {
                });
            }
            return new ArrayList<>();
        });
    }
This is {@link LdapGoogleAuthenticatorTokenCredentialRepository}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-gauth-ldap/src/main/java/org/apereo/cas/gauth/credential/LdapGoogleAuthenticatorTokenCredentialRepository.java