Check out our official Java SDK documentation.
- Java 1.11 or later
Add this dependency to your project's build file:
implementation 'com.authsignal:authsignal-java:1.0.0'
Add this dependency to your project's POM:
<dependency>
<groupId>com.authsignal</groupId>
<artifactId>authsignal-java</artifactId>
<version>1.0.0</version>
</dependency>
import com.authsignal.AuthsignalClient;
...
AuthsignalClient client = new AuthsignalClient(secret, baseURL);
You can find your tenant secret in the Authsignal Portal.
You must specify the correct base URL for your tenant's region.
Region | Base URL |
---|---|
US (Oregon) | https://api.authsignal.com/v1 |
AU (Sydney) | https://au.api.authsignal.com/v1 |
EU (Dublin) | https://eu.api.authsignal.com/v1 |
For more detailed information on how use this library refer to the official documentation.