//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
using Microsoft.SqlTools.ServiceLayer.Utility;
using Microsoft.SqlTools.Utility;
namespace Microsoft.SqlTools.ServiceLayer.Security.Contracts
{
///
/// Create Credential parameters
///
public class CreateCredentialParams : GeneralRequestDetails
{
public string OwnerUri { get; set; }
public CredentialInfo Credential { get; set; }
}
///
/// Create Credential result
///
public class CreateCredentialResult
{
public bool Succeeded { get; set; }
public string ErrorMessage { get; set; }
}
///
/// Create Credential request type
///
public class CreateCredentialRequest
{
///
/// Request definition
///
public static readonly
RequestType Type =
RequestType.Create("security/createcredential");
}
}