com.yoti.api.client.sandbox.SandboxPathFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoti-sdk-sandbox Show documentation
Show all versions of yoti-sdk-sandbox Show documentation
Java SDK for simple integration with the Sandbox Yoti platform
The newest version!
package com.yoti.api.client.sandbox;
import static java.lang.String.format;
import static java.util.UUID.randomUUID;
import com.yoti.api.client.spi.remote.call.factory.PathFactory;
public class SandboxPathFactory extends PathFactory {
private static final String CREATE_SANDBOX_TOKEN_PATH = "/apps/%s/tokens?timestamp=%s&nonce=%s";
public String createSandboxPath(String appId) {
return format(CREATE_SANDBOX_TOKEN_PATH, appId, createTimestamp(), randomUUID());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy