public TokenManager(ISpotifyWebAuth spotifyWebAuth)
 {
     this.SpotifyWebAuth       = spotifyWebAuth ?? App.Container.Resolve <ISpotifyWebAuth>();
     this.RefreshTimer         = new Timer(this.RefreshTimerCallback);
     this.RefreshingTokenEvent = new ManualResetEvent(true);
 }
Exemple #2
0
 public SpotifyWeb(ISpotifyWebAuth auth, ISpotifyWebAPI webApi)
 {
     this.Auth = auth;
     this.API  = webApi;
 }