Exemple #1
0
 protected override void CheckResponse(string request, int code, string error)
 {
     base.CheckResponse(request, code, error);
     MyHttpClient.SetAuthorization(this);
 }
Exemple #2
0
 public static void Clear()
 {
     TokenStorage.Value = new Token();
     MyHttpClient.SetAuthorization(null);
 }