summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java b/app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java
deleted file mode 100644
index d4e00308..00000000
--- a/app/src/main/java/se/leap/bitmaskclient/SrpRegistrationData.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package se.leap.bitmaskclient;
-
-import com.google.gson.Gson;
-
-/**
- * Created by cyberta on 23.10.17.
- */
-
-public class SrpRegistrationData {
-
-
- private User user;
-
- public SrpRegistrationData(String username, String passwordSalt, String passwordVerifier) {
- user = new User(username, passwordSalt, passwordVerifier);
- }
-
-
- @Override
- public String toString() {
- return new Gson().toJson(this);
- }
-
-
- public class User {
-
- String login;
- String password_salt;
- String password_verifier;
-
- public User(String login, String password_salt, String password_verifier) {
- this.login = login;
- this.password_salt = password_salt;
- this.password_verifier = password_verifier;
- }
-
- @Override
- public String toString() {
- return new Gson().toJson(this);
- }
- }
-}