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