File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments