Package veryfi
Class VeryfiClientFactory
java.lang.Object
veryfi.VeryfiClientFactory
Factory for creating instances of
Client
.-
Method Summary
Modifier and TypeMethodDescriptionstatic Client
createClient
(String clientId, String clientSecret, String username, String apiKey) Creates an instance ofClient
.static Client
createClient
(String clientId, String clientSecret, String username, String apiKey, int apiVersion) Creates an instance ofClient
.static Client
createClient
(String clientId, String clientSecret, String username, String apiKey, int apiVersion, HttpClient httpClient) Creates an instance ofClient
.
-
Method Details
-
createClient
public static Client createClient(String clientId, String clientSecret, String username, String apiKey) Creates an instance ofClient
. -
createClient
public static Client createClient(String clientId, String clientSecret, String username, String apiKey, int apiVersion) Creates an instance ofClient
. -
createClient
public static Client createClient(String clientId, String clientSecret, String username, String apiKey, int apiVersion, HttpClient httpClient) Creates an instance ofClient
.- Parameters:
clientId
- theString
provided by Veryfi.clientSecret
- theString
provided by Veryfi.username
- theString
provided by Veryfi.apiKey
- theString
provided by Veryfi.apiVersion
- the {link int} api version to use Veryfi.httpClient
-HttpClient
for the Veryfi API- Returns:
- the new instance with custom api version.
-