summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/SrpCredentials.java
blob: c1815ac566a8379a93841c7cb343d678f9a56186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package se.leap.bitmaskclient;

import com.google.gson.Gson;

/**
 * Created by cyberta on 23.10.17.
 */

public class SrpCredentials {

    /**
     * Parameter A of SRP authentication
     */
    private String A;
    private String login;

    public SrpCredentials(String username, String A) {
        this.login = username;
        this.A = A;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}