UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

87 lines (85 loc) 3.65 kB
/** * CredSSP request Rpc call name and version. */ export class RpcCredSspRequestKey { static command = 'CredSspRequest'; static version = '0.1.0'; } /** * CredSSP response Rpc call name and version */ export class RpcCredSspResponseKey { static command = 'CredSsp'; static version = '0.1.0'; } /** * Identifies the CredSSP operation type to preform */ export var RpcCredSSPOperationType; (function (RpcCredSSPOperationType) { /** * Enable CredSSP Server role on the managed server. */ RpcCredSSPOperationType[RpcCredSSPOperationType["EnableManagedServer"] = 0] = "EnableManagedServer"; /** * Disable CredSSP Server role on the managed server. */ RpcCredSSPOperationType[RpcCredSSPOperationType["DisableManagedServer"] = 1] = "DisableManagedServer"; /** * Enable CredSSP client role on the gateway and delegate to the list ot servers. */ RpcCredSSPOperationType[RpcCredSSPOperationType["EnableClientRole"] = 2] = "EnableClientRole"; /** * Disable CredSSP client role on the gateway and remove all delegated servers. */ RpcCredSSPOperationType[RpcCredSSPOperationType["DisableClientRole"] = 3] = "DisableClientRole"; /** * Enable CredSSP Server role on the managed server, and enable the gateway to * delegate to the managed server. */ RpcCredSSPOperationType[RpcCredSSPOperationType["EnableDelegation"] = 4] = "EnableDelegation"; /** * Test that CredSSP connection from gateway to server(s) is enabled. To function as verification mechanism * that CredSSP is bound to work. */ RpcCredSSPOperationType[RpcCredSSPOperationType["TestCredSSP"] = 5] = "TestCredSSP"; /** * Confirm the CredSSP client configuration on the gateway machine and the list of servers * that can be delegated fresh credentials from the gateway. */ RpcCredSSPOperationType[RpcCredSSPOperationType["ConfirmClientConfiguration"] = 6] = "ConfirmClientConfiguration"; /** * Confirm the CredSSP server configuration on the managed server. */ RpcCredSSPOperationType[RpcCredSSPOperationType["ConfirmManagedServerConfiguration"] = 7] = "ConfirmManagedServerConfiguration"; /** * Confirm the CredSSP client configuration on the gateway, and confirm the CredSSP server * configuration to the managed server. */ RpcCredSSPOperationType[RpcCredSSPOperationType["ConfirmDelegation"] = 8] = "ConfirmDelegation"; /** * Configure CredSSP server role on a given server and enable gateway to delegate to managed server * if gateway machine is not given. Otherwise, do nothing. Return configured server name and * PowerShell options needed for proceeding invoke PowerShell calls. */ RpcCredSSPOperationType[RpcCredSSPOperationType["TryGatewayLocalPowerShellConfig"] = 9] = "TryGatewayLocalPowerShellConfig"; })(RpcCredSSPOperationType || (RpcCredSSPOperationType = {})); /** * CredSSP operation result returnable members. */ export var RpcCredSSPOperationResultMember; (function (RpcCredSSPOperationResultMember) { /** * "Succeeded" member of operation result interface. */ RpcCredSSPOperationResultMember["Succeeded"] = "succeeded"; /** * "configurationData" member of operation result interface. */ RpcCredSSPOperationResultMember["ConfigurationStatus"] = "configurationStatus"; /** * "data" member of operation result interface. */ RpcCredSSPOperationResultMember["Data"] = "data"; })(RpcCredSSPOperationResultMember || (RpcCredSSPOperationResultMember = {})); //# sourceMappingURL=rpc-credssp-model.js.map