1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.TokensConfig = void 0;
|
11 | const configFile_1 = require("./configFile");
|
12 | class TokensConfig extends configFile_1.ConfigFile {
|
13 | static getDefaultOptions() {
|
14 | return {
|
15 | isGlobal: true,
|
16 | isState: true,
|
17 | filename: 'tokens.json',
|
18 | };
|
19 | }
|
20 | getMethod(contents, key) {
|
21 | return contents[key];
|
22 | }
|
23 | setMethod(contents, key, value) {
|
24 | contents[key] = value;
|
25 | }
|
26 | }
|
27 | exports.TokensConfig = TokensConfig;
|
28 | TokensConfig.encryptedKeys = [/token/i, /password/i, /secret/i];
|
29 |
|
\ | No newline at end of file |