Beispiel #1
0
        private void RefreshAccessToken()
        {
            var testConfigInfo     = TestConfigInfo.Get();
            var authenticator      = new TokenProvider(testConfigInfo.ClientId, testConfigInfo.ClientSecret);
            var refreshAccessToken = authenticator.RefreshAccessToken(testConfigInfo.RefreshToken);

            TestConfigInfo.Update(refreshAccessToken);
        }