File tree Expand file tree Collapse file tree
src/main/java/com/duosecurity/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,22 +53,22 @@ For more information see the Duo Accounts API guide:
5353The Java API Client project is available from Duo Security on Maven. Include the following in your dependency definitions:
5454```
5555
56- <!-- https://mvnrepository .com/artifact/com.duosecurity/duo-client -->
56+ <!-- https://central.sonatype .com/artifact/com.duosecurity/duo-client -->
5757<dependency>
5858 <groupId>com.duosecurity</groupId>
5959 <artifactId>duo-client</artifactId>
60- <version>0.7.1 </version>
60+ <version>0.8.0 </version>
6161</dependency>
6262```
6363
64- See https://mvnrepository. com/artifact/com.duosecurity/duo-client/0.7.1 for more details.
64+ See https://central.sonatype. com/artifact/com.duosecurity/duo-client/0.8.0 for more details.
6565
6666# Using the Example
6767There is an example in /duo-example-admin
6868Create an Admin API application in your Duo Admin Panel.
6969To set the minimum permissions, under your API's 'Permissions', check the three boxes that start with "Grant read ...".
7070```
71- $ java -jar duo-example-admin-0.7.1 -jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
71+ $ java -jar duo-example-admin-0.8.0 -jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
7272```
7373If successful, the console will print the users and authentication attempts.
7474
Original file line number Diff line number Diff line change 55
66 <groupId >com.duosecurity</groupId >
77 <artifactId >duo-client</artifactId >
8- <version >0.8.0 </version >
8+ <version >0.8.1-SNAPSHOT </version >
99 <name >Duo Security API client</name >
1010 <url >https://github.com/duosecurity/duo_client_java</url >
1111 <description >Two Factor Authentication API Client</description >
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class Http {
3232 public static final int DEFAULT_TIMEOUT_SECS = 60 ;
3333 private static final int RATE_LIMIT_ERROR_CODE = 429 ;
3434
35- public static final String UserAgentString = "Duo API Java/0.8.0 " ;
35+ public static final String UserAgentString = "Duo API Java/0.8.1-SNAPSHOT " ;
3636
3737 private final String method ;
3838 private final String host ;
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.duosecurity</groupId >
66 <artifactId >duo-example-admin</artifactId >
7- <version >0.8.0 </version >
7+ <version >0.8.1-SNAPSHOT </version >
88 <packaging >jar</packaging >
99
1010 <name >Duo Admin API Example client</name >
1616 <parent >
1717 <groupId >com.duosecurity</groupId >
1818 <artifactId >duo-client-all</artifactId >
19- <version >0.8.0 </version >
19+ <version >0.8.1-SNAPSHOT </version >
2020 </parent >
2121
2222 <dependencies >
2323 <dependency >
2424 <groupId >com.duosecurity</groupId >
2525 <artifactId >duo-client</artifactId >
26- <version >0.8.0 </version >
26+ <version >0.8.1-SNAPSHOT </version >
2727 </dependency >
2828 <dependency >
2929 <groupId >org.json</groupId >
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.duosecurity</groupId >
66 <artifactId >duo-client-all</artifactId >
7- <version >0.8.0 </version >
7+ <version >0.8.1-SNAPSHOT </version >
88 <packaging >pom</packaging >
99
1010 <name >Duo Security API client and examples</name >
You can’t perform that action at this time.
0 commit comments