Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point README to latest version and bump internal version to SNAPSHOT #83

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ The Java API Client project is available from Duo Security on Maven. Include th
<dependency>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.6.0</version>
<version>0.6.1</version>
</dependency>
```

See https://mvnrepository.com/artifact/com.duosecurity/duo-client/0.6.0 for more details.
See https://mvnrepository.com/artifact/com.duosecurity/duo-client/0.6.1 for more details.

# Using the Example
There is an example in /duo-example-admin
Create an Admin API application in your Duo Admin Panel.
To set the minimum permissions, under your API's 'Permissions', check the three boxes that start with "Grant read ...".
```
$ java -jar duo-example-admin-0.6.0-jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
$ java -jar duo-example-admin-0.6.1-jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
```
If successful, the console will print the users and authentication attempts.

Expand Down
2 changes: 1 addition & 1 deletion duo-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>
<name>Duo Security API client</name>
<url>https://github.com/duosecurity/duo_client_java</url>
<description>Two Factor Authentication API Client</description>
Expand Down
2 changes: 1 addition & 1 deletion duo-client/src/main/java/com/duosecurity/client/Http.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Http {
public static final int DEFAULT_TIMEOUT_SECS = 60;
private static final int RATE_LIMIT_ERROR_CODE = 429;

public static final String UserAgentString = "Duo API Java/0.6.1";
public static final String UserAgentString = "Duo API Java/0.6.2-SNAPSHOT";

private final String method;
private final String host;
Expand Down
6 changes: 3 additions & 3 deletions duo-example-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.duosecurity</groupId>
<artifactId>duo-example-admin</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Duo Admin API Example client</name>
Expand All @@ -16,14 +16,14 @@
<parent>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client-all</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client-all</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Duo Security API client and examples</name>
Expand Down
Loading