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