@Override
    public YubiKeyAccount save(final YubiKeyDeviceRegistrationRequest request,
                               final YubiKeyRegisteredDevice... device) {
        val account = YubiKeyAccount.builder()
            .username(request.getUsername())
            .devices(Arrays.stream(device).collect(Collectors.toList()))
            .build();
        return save(account);
    }
This is {@link DynamoDbYubiKeyAccountRegistry}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-yubikey-dynamodb/src/main/java/org/apereo/cas/adaptors/yubikey/dao/DynamoDbYubiKeyAccountRegistry.java