Merge branch 'release' into dev

This commit is contained in:
Chris R 2016-04-25 12:40:19 -07:00
Родитель 02a4db2b3b 3a811e2b6d
Коммит d75c6d47f9
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -22,7 +22,7 @@ namespace MusicStore.Mocks.Facebook
if (request.RequestUri.AbsoluteUri.StartsWith("https://graph.facebook.com/v2.5/oauth/access_token"))
{
var formData = new FormCollection(await FormReader.ReadFormAsync(await request.Content.ReadAsStreamAsync()));
var formData = new FormCollection(await new FormReader(await request.Content.ReadAsStreamAsync()).ReadFormAsync());
if (formData["grant_type"] == "authorization_code")
{
if (formData["code"] == "ValidCode")

Просмотреть файл

@ -21,7 +21,7 @@ namespace MusicStore.Mocks.Google
if (request.RequestUri.AbsoluteUri.StartsWith("https://www.googleapis.com/oauth2/v3/token"))
{
var formData = new FormCollection(await FormReader.ReadFormAsync(await request.Content.ReadAsStreamAsync()));
var formData = new FormCollection(await new FormReader(await request.Content.ReadAsStreamAsync()).ReadFormAsync());
if (formData["grant_type"] == "authorization_code")
{
if (formData["code"] == "ValidCode")

Просмотреть файл

@ -21,7 +21,7 @@ namespace MusicStore.Mocks.MicrosoftAccount
if (request.RequestUri.AbsoluteUri.StartsWith("https://login.microsoftonline.com/common/oauth2/v2.0/token"))
{
var formData = new FormCollection(await FormReader.ReadFormAsync(await request.Content.ReadAsStreamAsync()));
var formData = new FormCollection(await new FormReader(await request.Content.ReadAsStreamAsync()).ReadFormAsync());
if (formData["grant_type"] == "authorization_code")
{
if (formData["code"] == "ValidCode")

Просмотреть файл

@ -23,7 +23,7 @@ namespace MusicStore.Mocks.Twitter
if (request.RequestUri.AbsoluteUri.StartsWith("https://api.twitter.com/oauth/access_token"))
{
var formData = new FormCollection(await FormReader.ReadFormAsync(await request.Content.ReadAsStreamAsync()));
var formData = new FormCollection(await new FormReader(await request.Content.ReadAsStreamAsync()).ReadFormAsync());
if (formData["oauth_verifier"] == "valid_oauth_verifier")
{
if (_requestTokenEndpointInvoked)