コード例 #1
0
 public void Execute([NotNull] BackgroundProcessContext context)
 {
     Console.WriteLine(DateTime.Now.ToString() + ": Start refresh refresh-token background job. ");
     _accessTokenManager.UpdateRefreshToken();
     // context.Wait(TimeSpan.FromSeconds(5));
     Console.WriteLine(DateTime.Now.ToString() + ": Finish refresh refresh-token background job. ");
 }