Skip to content

authsignal/authsignal-java

Repository files navigation

Authsignal Java

Check out our official Java SDK documentation.

Installation

Requirements

  • Java 1.11 or later

Gradle users

Add this dependency to your project's build file:

implementation 'com.authsignal:authsignal-java:1.0.0'

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>com.authsignal</groupId>
  <artifactId>authsignal-java</artifactId>
  <version>1.0.0</version>
</dependency>

Initialization

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

Usage

For more detailed information on how use this library refer to the official documentation.