Skip to content

Commit

Permalink
Add Serializable to the user data.
Browse files Browse the repository at this point in the history
Signed-off-by: dfredell <[email protected]>
  • Loading branch information
dfredell committed Nov 30, 2018
1 parent ac8eea5 commit d655845
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/main/java/com/auth0/json/auth/UserInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

Expand All @@ -14,8 +15,9 @@
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserInfo {
public class UserInfo implements Serializable {

private static final long serialVersionUID = 269396372916122947L;
private Map<String, Object> values;

UserInfo() {
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/auth0/json/mgmt/users/Identity.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

import com.fasterxml.jackson.annotation.*;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@SuppressWarnings({"unused", "WeakerAccess"})
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Identity {
public class Identity implements Serializable {

private static final long serialVersionUID = 3926496199363283643L;
@JsonProperty("connection")
private String connection;
@JsonProperty("user_id")
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/auth0/json/mgmt/users/ProfileData.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

import com.fasterxml.jackson.annotation.*;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@SuppressWarnings({"unused", "WeakerAccess"})
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ProfileData {
public class ProfileData implements Serializable {

private static final long serialVersionUID = 988104083349806938L;
@JsonProperty("email")
private String email;
@JsonProperty("email_verified")
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/auth0/json/mgmt/users/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.fasterxml.jackson.annotation.*;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
Expand All @@ -13,8 +14,9 @@
@SuppressWarnings({"unused", "WeakerAccess"})
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User {
public class User implements Serializable {

private static final long serialVersionUID = 3454126084342651804L;
@JsonProperty("client_id")
private String clientId;
@JsonProperty("connection")
Expand Down

0 comments on commit d655845

Please sign in to comment.