public async Task TestClientCredentials() { // Act var credentials = await SoundCloudOAuth.FromClientCredentials(Settings.ClientId, Settings.ClientSecret); // Assert Assert.That(credentials.AccessToken, Is.Not.Null); }
public async Task TestRefreshToken() { var initial = await SoundCloudOAuth.FromClientCredentials(Settings.ClientId, Settings.ClientSecret); // Act var credentials = await SoundCloudOAuth.FromRefreshToken(Settings.ClientId, Settings.ClientSecret, initial.RefreshToken); // Assert Assert.That(credentials.AccessToken, Is.Not.Null); }