File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
lib/src/main/java/com/tuti/api/authentication Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 5
5
public class SignInRequest {
6
6
private String username ;
7
7
private String password ;
8
+ private String mobile ;
8
9
9
10
public String getSignature () {
10
11
return signature ;
@@ -40,11 +41,18 @@ public String getUsername() {
40
41
return username ;
41
42
}
42
43
43
- public SignInRequest (String username , String password ) {
44
- this .username = username ;
44
+ /**
45
+ * Use to sign in a user given their mobile number and password.
46
+ * @param mobile
47
+ * @param password
48
+ */
49
+ public SignInRequest (String mobile , String password ) {
50
+ this .username = mobile ;
45
51
this .password = password ;
52
+ this .mobile = mobile ;
46
53
}
47
54
55
+
48
56
public SignInRequest setUsername (String username ) {
49
57
this .username = username ;
50
58
return this ;
You can’t perform that action at this time.
0 commit comments