// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.ResourceProvider.Core.Contracts { /// /// Any response which relies on a token may indicated that the operation failed due to token being expired. /// All operational response messages should inherit from this class in order to support a standard method for defining /// this failure path /// public class TokenReliantResponse { /// /// Did this succeed? /// public bool Result { get; set; } /// /// If this failed, was it due to a token expiring? /// public bool IsTokenExpiredFailure { get; set; } } }