@Override
    public YubiKeyAccount getAccountInternal(final String uid) {
        val accounts = dynamoDbFacilitator.getAccounts(uid);
        if (accounts.isEmpty()) {
            return null;
        }
        return accounts.getFirst();
    }
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