MVN

com.github.bastiaanjansen : otp-java

Maven & Gradle

Aug 09, 2023
166 stars

OTP-Java · A small and easy-to-use one-time password generator for Java according to RFC 4226 (HOTP) and RFC 6238 (TOTP).

<dependency>
    <groupId>com.github.bastiaanjansen</groupId>
    <artifactId>otp-java</artifactId>
    <version>2.0.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.bastiaanjansen : otp-java to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.2

All Versions

Choose a version of com.github.bastiaanjansen : otp-java to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
otp-java-2.0.2
otp-java-2.0.1
otp-java-2.0.0
1.3.x
otp-java-1.3.2
otp-java-1.3.1
otp-java-1.3.0
1.2.x
otp-java-1.2.3
otp-java-1.2.2
otp-java-1.2.1
otp-java-1.2.0
1.1.x
otp-java-1.1.3
otp-java-1.1.2
otp-java-1.1.1
1.0.x
otp-java-1.0.5

How to add a dependency to Maven

Add the following com.github.bastiaanjansen : otp-java maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.bastiaanjansen</groupId>
    <artifactId>otp-java</artifactId>
    <version>2.0.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.bastiaanjansen : otp-java gradle dependency to your build.gradle file:

implementation 'com.github.bastiaanjansen:otp-java:2.0.2'

Gradle Kotlin DSL: Add the following com.github.bastiaanjansen : otp-java gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.bastiaanjansen:otp-java:2.0.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.bastiaanjansen : otp-java sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.bastiaanjansen" % "otp-java" % "2.0.2"

Advertisement