@Override
    public YubiKeyAccount save(final YubiKeyDeviceRegistrationRequest request,
                               final YubiKeyRegisteredDevice... device) {
        val yubiAccount = YubiKeyAccount.builder()
            .username(request.getUsername())
            .id(System.currentTimeMillis())
            .devices(CollectionUtils.wrapList(device))
            .build();
        return save(yubiAccount);
    }
This is {@link PermissiveYubiKeyAccountRegistry}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-yubikey-core/src/main/java/org/apereo/cas/adaptors/yubikey/registry/PermissiveYubiKeyAccountRegistry.java