static MultifactorAuthenticationTrustedDeviceNamingStrategy random() {
        return (registeredService, service, request, authentication) -> {
            val builder = new StringBuilder();
            val clientInfo = ClientInfoHolder.getClientInfo();
            if (clientInfo != null) {
                builder.append(clientInfo.getClientIpAddress());
                builder.append('@');
            }
            builder.append(LocalDateTime.now(ZoneOffset.UTC));
            return builder.toString();
        };
    }
Generate device name based on request IP and date/time.

@return the multifactor authentication trusted device naming strategy
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/MultifactorAuthenticationTrustedDeviceNamingStrategy.java