Skip to content

Commit 8e98579

Browse files
authored
Adding BuddyAuth Hashing to Create Batch User (#209)
* Add BuddyAuth Hashing to BatchCreateUser * Bump version
1 parent b4278cf commit 8e98579

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.descope</groupId>
66
<artifactId>java-sdk</artifactId>
77
<modelVersion>4.0.0</modelVersion>
8-
<version>1.0.45</version>
8+
<version>1.0.46</version>
99
<name>${project.groupId}:${project.artifactId}</name>
1010
<description>Java library used to integrate with Descope.</description>
1111
<url>https://github.com/descope/descope-java</url>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.descope.model.user.request;
2+
3+
import lombok.AllArgsConstructor;
4+
import lombok.Builder;
5+
import lombok.Data;
6+
import lombok.NoArgsConstructor;
7+
8+
@Data
9+
@Builder
10+
@NoArgsConstructor
11+
@AllArgsConstructor
12+
public class BatchUserPasswordBuddyauth {
13+
String hash; // the BuddyAuth hash in plaintext format, for example "bcrypt+sha512$..."
14+
}

src/main/java/com/descope/model/user/request/BatchUserPasswordHashed.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ public class BatchUserPasswordHashed {
1717
BatchUserPasswordPhpass phpass;
1818
BatchUserPasswordMd5 md5;
1919
BatchUserPasswordArgon2 argon2;
20+
BatchUserPasswordBuddyauth buddyauth;
2021
}

0 commit comments

Comments
 (0)