예제 #1
0
        public async Task Login(string code)
        {
            var(accessToken, refreshToken) = await SpotifyClient.GetTokensAsync(ClientId, ClientSecret, RedirectUrl, code).ConfigureAwait(false);

            AccessToken  = accessToken;
            RefreshToken = refreshToken;
        }