Skip to content

Commit 9e46334

Browse files
committed
Updated the README for v0.2.
1 parent 9d85a41 commit 9e46334

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1-
![Build status](https://travis-ci.org/jchambers/java-otp.svg?branch=master)
1+
[![Build status](https://travis-ci.org/jchambers/java-otp.svg?branch=master)](https://travis-ci.org/jchambers/java-otp)
2+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.eatthepath/java-otp/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.eatthepath/java-otp)
23

34
java-otp is a library for generating one-time passwords using the [HOTP (RFC 4226)](https://tools.ietf.org/html/rfc4226) or [TOTP (RFC 6238)](https://tools.ietf.org/html/rfc6238) standards in Java.
45

6+
## Getting java-otp
7+
8+
You can download java-otp as a jar file (it has no dependencies) from the [GitHub releases page](https://github.com/jchambers/java-otp/releases) and add it to your project's classpath. If you're using Maven (or something that understands Maven dependencies) to build your project, you can add java-otp as a dependency:
9+
10+
```xml
11+
<dependency>
12+
<groupId>com.eatthepath</groupId>
13+
<artifactId>java-otp</artifactId>
14+
<version>0.2.0</version>
15+
</dependency>
16+
```
17+
518
## System requirements
619

720
java-otp works with Java 8 or newer. If you need support for versions of Java older than Java 8, you may try using java-otp v0.1 (although it is no longer supported).

0 commit comments

Comments
 (0)