Commit Graph

18 Commits

Author SHA1 Message Date
Alessandro Attard Barbini
91b088169b Allow users to set ShowDialog when using WebAPIFactory (#239) 2018-04-24 17:19:06 +02:00
Alessandro Attard Barbini
dd77be8a8a Added support for proxy configuration (#224)
* Create ProxyConfig class + Unit tests

* Use ProxyConfig in SpotifyLocalAPI

* Refactor WebProxy creation in ProxyConfig

* Use ProxyConfig in SpotifyWebAPI

* Add ProxyConfig parameter in GetAlbumArt methods

* Add ProxyConfig to WebAPIFactory

* Add proxy settings to Example app

* Fix ArgumentNullException in GetAlbumArtUrl when not using proxy

* Performed requested changes

- Removed redundant "this".
- Added necessary null checks.
- Added a ProxyConfig property to SpotifyLocalAPIConfig and removed constructor overloads with it in SpotifyLocalAPI and RemoteHandler.

* Updated Example app
2018-03-25 19:39:19 +02:00
Jim
7ea1a1af48 Update WebApiFactory.cs (#153)
This could fix the ImplicitGrantAuth for http paths without breaking anything. ´TrimEnd` is there for when there is no path (the builder will add a `/` which will make the callback url invalid otherwise.
2017-06-10 21:50:16 +02:00
Jakub Syty
512d3d76ad Async auth support for ClientCredentialsAuth (#148) 2017-06-06 18:56:26 +02:00
Jonas Dellinger
629a09a980 Removed Proxy = null 2017-05-31 18:24:22 +02:00
Johnny @PC
0cefd0ac13 Removed wrong factory 2016-07-31 16:19:58 +02:00
Johnny @PC
417869548a Added additional constructor to WebAPIFactory 2016-07-31 16:18:42 +02:00
Jürgen
4699246068 Adapted code style 2016-07-30 00:19:57 +02:00
Jürgen
1699519c95 Renamed AuthenticationFactory to WebApiFactory (better description of what the class does...) 2016-07-24 23:58:45 +02:00
Jürgen Holzer
234a522f8f Cleaning up after timeout
Proper Re-Use is now possible
2016-07-20 09:56:05 +02:00
Jürgen
d21e84476c AuthenticationFactory 2016-07-19 21:15:22 +02:00
Johnny @PC
adeac7b409 Simplified String -> string 2016-03-31 12:08:23 +02:00
Vijay Santhanam
419bd6293b Properly dispose http server
When using the AuthorizationCodeAuth flow, the HTTP server should be stopped properly like in ImplicitGrantAuth
2015-12-08 12:10:41 +11:00
Johnny Dellinger @PC
96bcb7bd36 Some more refactoring. 2015-10-28 17:05:09 +01:00
mrnikbobjeff
49441bba95 Formatted and beautified code via codemaid
Organised using statements alphabetically
2015-10-17 00:44:35 +02:00
Jonas Dellinger
f09c52a60c Update ImplicitGrantAuth.cs
fixed spelling mistake
2015-10-05 16:22:08 +02:00
Johnny Dellinger @PC
d8e3238f09 Made port variable and adapted example to use port 8000 2015-09-08 15:35:07 +02:00
Johnny Dellinger @PC
45c71544f9 Full Rewrite & Cleanup (New documentation follows) 2015-07-07 18:11:11 +02:00