![JAR search and dependency download from the Maven repository](/logo.png)
com.telesign.AppVerifyClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ri-autopublish-poc-telesign Show documentation
Show all versions of ri-autopublish-poc-telesign Show documentation
The Telesign Java SDK is a Java library that provides an interface to Telesign Web Services. Telesign Web Services conform to the REST Web Service Design Model. Services are exposed as URI-addressable resources through the set of RESTful procedures in our Telesign REST API.
The newest version!
package com.telesign;
import java.io.IOException;
import java.net.Proxy;
import java.security.GeneralSecurityException;
import java.util.Map;
/**
* AppVerify is a secure, lightweight SDK that integrates a frictionless user verification process into existing
* native mobile applications.
**/
public class AppVerifyClient extends RestClient {
private static final String APPVERIFY_STATUS_RESOURCE = "/v1/mobile/verification/status/%s";
public AppVerifyClient(String customerId, String apiKey) {
super(customerId, apiKey);
}
public AppVerifyClient(String customerId, String apiKey, String restEndpoint) {
super(customerId, apiKey, restEndpoint);
}
public AppVerifyClient(String customerId,
String apiKey,
String restEndpoint,
Integer connectTimeout,
Integer readTimeout,
Integer writeTimeout,
Proxy proxy,
final String proxyUsername,
final String proxyPassword) {
super(customerId, apiKey, restEndpoint, connectTimeout, readTimeout, writeTimeout, proxy, proxyUsername, proxyPassword);
}
/**
* Retrieves the verification result for an AppVerify transaction by externalId. To ensure a secure verification
* flow you must check the status using TeleSign's servers on your backend. Do not rely on the SDK alone to
* indicate a successful verification.
*
* See https://developer.telesign.com/docs/app-verify-android-sdk-self#section-obtaining-verification-status or
* https://developer.telesign.com/docs/app-verify-ios-sdk-self#section-obtaining-verification-status for detailed
* API documentation.
*/
public TelesignResponse status(String externalId, Map params) throws IOException, GeneralSecurityException {
return this.get(String.format(APPVERIFY_STATUS_RESOURCE, externalId), params);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy