@zowe/imperative
Version:
framework for building configurable CLIs
37 lines • 1.57 kB
JavaScript
;
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PersistenceValue = exports.PersistenceLevel = void 0;
/**
* Used to map value in `imperative.json` to respective value for Win32 persistence flag in CredentialA.
* See {@link PersistenceValue} for flag values.
*/
var PersistenceLevel;
(function (PersistenceLevel) {
PersistenceLevel["SessionOnly"] = "session";
PersistenceLevel["LocalMachine"] = "local_machine";
PersistenceLevel["Enterprise"] = "enterprise";
})(PersistenceLevel || (exports.PersistenceLevel = PersistenceLevel = {}));
/**
* Note: Values map to `Persist` variable in
* [CredentialA](https://learn.microsoft.com/en-us/windows/win32/api/wincred/ns-wincred-credentiala) structure.
*/
var PersistenceValue;
(function (PersistenceValue) {
// CRED_PERSIST_SESSION
PersistenceValue[PersistenceValue["SessionOnly"] = 1] = "SessionOnly";
// CRED_PERSIST_LOCAL_MACHINE
PersistenceValue[PersistenceValue["LocalMachine"] = 2] = "LocalMachine";
// CRED_PERSIST_ENTERPRISE
PersistenceValue[PersistenceValue["Enterprise"] = 3] = "Enterprise";
})(PersistenceValue || (exports.PersistenceValue = PersistenceValue = {}));
//# sourceMappingURL=IDefaultCredentialManagerOptions.js.map