2022-04-06 00:16:32 +02:00
|
|
|
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-04-05 19:33:20 +02:00
|
|
|
package pgp.vks.client;
|
|
|
|
|
2022-04-06 00:16:32 +02:00
|
|
|
import pgp.vks.client.v1.dto.VerificationResponse;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.List;
|
|
|
|
|
2022-04-05 19:33:20 +02:00
|
|
|
public interface RequestVerify {
|
2022-04-06 00:16:32 +02:00
|
|
|
|
|
|
|
default VerificationResponse forEmailAddresses(List<String> emailAddresses, String uploadToken)
|
|
|
|
throws IOException {
|
|
|
|
return forEmailAddresses(emailAddresses, uploadToken, Arrays.asList("en_US", "en_GB"));
|
|
|
|
}
|
|
|
|
|
|
|
|
VerificationResponse forEmailAddresses(List<String> emailAddresses, String uploadToken, List<String> locale)
|
|
|
|
throws IOException;
|
2022-04-05 19:33:20 +02:00
|
|
|
}
|