Updated versions

This commit is contained in:
Jonas Dellinger 2019-02-19 22:18:24 +01:00
parent 3c98a63873
commit 4870d15c76
4 changed files with 7 additions and 7 deletions

View File

@ -113,9 +113,9 @@ namespace SpotifyAPI.Web.Auth
} }
[WebApiHandler(HttpVerbs.Post, "/")] [WebApiHandler(HttpVerbs.Post, "/")]
public bool PostValues() public async Task<bool> PostValues()
{ {
Dictionary<string, object> formParams = this.RequestFormDataDictionary(); Dictionary<string, object> formParams = await this.RequestFormDataDictionaryAsync();
string state = (string) formParams["state"]; string state = (string) formParams["state"];
AuthorizationCodeAuth.Instances.TryGetValue(state, out SpotifyAuthServer<AuthorizationCode> authServer); AuthorizationCodeAuth.Instances.TryGetValue(state, out SpotifyAuthServer<AuthorizationCode> authServer);

View File

@ -15,7 +15,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="EmbedIO" Version="2.1.1" /> <PackageReference Include="EmbedIO" Version="2.2.7" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -11,7 +11,7 @@
<projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl> <projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<description> <description>
An API for Spotify's Web API, written in .NET Authorization Flows for the Spotify's Web API, written in .NET
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET
</description> </description>
@ -19,7 +19,7 @@
<tags>spotify api music .net c# spotify-client</tags> <tags>spotify api music .net c# spotify-client</tags>
<dependencies> <dependencies>
<dependency id="SpotifyAPI.Web" version="3.0.0" /> <dependency id="SpotifyAPI.Web" version="3.0.0" />
<dependency id="EmbedIO" version="1.15.0" /> <dependency id="EmbedIO" version="2.2.7" />
</dependencies> </dependencies>
</metadata> </metadata>
<files> <files>

View File

@ -11,14 +11,14 @@
<projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl> <projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<description> <description>
Authorization Flows for the Spotify's Web API, written in .NET An API for Spotify's Web API, written in .NET
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET
</description> </description>
<language /> <language />
<tags>spotify api music .net c# spotify-client</tags> <tags>spotify api music .net c# spotify-client</tags>
<dependencies> <dependencies>
<dependency id="Newtonsoft.Json" version="11.0.2" /> <dependency id="Newtonsoft.Json" version="12.0.1" />
</dependencies> </dependencies>
</metadata> </metadata>
<files> <files>