Skip to content

Commit 7f534a0

Browse files
Nanne Baarsnbaars
authored andcommitted
Update README with version 3
1 parent 8d71362 commit 7f534a0

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,23 @@ use Paseto in [an insecure way](https://auth0.com/blog/critical-vulnerabilities-
3333
3434
# Installation
3535

36-
There are two version available in Maven Central.
36+
There are three version available in Maven Central.
37+
38+
## Version 3
39+
40+
Version 3 is composed of NIST-approved algorithms, and will operate on tokens with the *v3* version header.
41+
42+
Add the following dependency to your project:
43+
44+
```
45+
<!-- https://mvnrepository.com/artifact/io.github.nbaars/paseto4j-version3 -->
46+
<dependency>
47+
<groupId>io.github.nbaars</groupId>
48+
<artifactId>paseto4j-version3</artifactId>
49+
<version>${paseto4j.version}</version>
50+
</dependency>
51+
```
52+
3753

3854
## Version 2
3955

@@ -48,7 +64,7 @@ Add the following dependency to your project:
4864
<dependency>
4965
<groupId>io.github.nbaars</groupId>
5066
<artifactId>paseto4j-version2</artifactId>
51-
<version>0.0.29</version>
67+
<version>${paseto4j.version}</version>
5268
</dependency>
5369
```
5470

@@ -61,7 +77,7 @@ Add the following dependency to your project:
6177
<dependency>
6278
<groupId>io.github.nbaars</groupId>
6379
<artifactId>paseto4j-version1</artifactId>
64-
<version>0.0.29</version>
80+
<version>${paseto4j.version}</version>
6581
</dependency>
6682
```
6783

0 commit comments

Comments
 (0)