Created
April 27, 2016 23:38
-
-
Save dalion619/1cf2500dbc3766a256e9fc8b7e093c09 to your computer and use it in GitHub Desktop.
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
public class SmsService : IIdentityMessageService | |
{ | |
public async Task SendAsync(IdentityMessage message) | |
{ | |
using (var httpClient = new HttpClient()) | |
{ | |
var result = await httpClient.GetStringAsync($"http://whatsapp2fa.azurewebsites.net/api/SendCode?code={message.Body}&number={message.Destination}&token={token}"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment