First prototype to validate phone numbers
This commit is contained in:
@@ -24,4 +24,9 @@ public class IdentityAPIv1 {
|
||||
|
||||
public static final String BASE = "/_matrix/identity/api/v1";
|
||||
|
||||
public static String getValidate(String medium, String sid, String secret, String token) {
|
||||
// FIXME use some kind of URLBuilder
|
||||
return BASE + "/validate/" + medium + "/submitToken?sid=" + sid + "&client_secret=" + secret + "&token=" + token;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user