-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from cmdotcom/feature/otp_api
Feature/otp api
- Loading branch information
Showing
41 changed files
with
2,420 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
package com.cm.text; | ||
|
||
public class Config { | ||
/** | ||
* Api url for the business messaging api | ||
*/ | ||
public static String BusinessMessagingApiUrl = "https://gw.messaging.cm.com/v1.0/message"; | ||
|
||
public static String ApiUrl = "https://gw.cmtelecom.com/v1.0/message"; | ||
/** | ||
* Url used to request a new OTP | ||
*/ | ||
public static String OtpRequestEndpoint = "https://api.cm.com/otp/v2/otp"; | ||
/** | ||
* Url formatter used to get the link to verify OTP code | ||
*/ | ||
public static String OtpVerifyEndpointFormatter = "https://api.cm.com/otp/v2/otp/%s/verify"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.