Liking cljdoc? Tell your friends :D

dots.vscode.secret-storage

Represents a storage utility for secrets, information that is sensitive.

Represents a storage utility for secrets, information that is
sensitive.
raw docstring

deletecljs

(delete secret-storage key)

Remove a secret from storage.

Parameters:

  • key: string - The key the secret was stored under.

Returns: Thenable<void>

Remove a secret from storage.

**Parameters:**
- `key`: `string` - The key the secret was stored under.

**Returns:** `Thenable<void>`
sourceraw docstring

getcljs

(get secret-storage key)

Retrieve a secret that was stored with key. Returns undefined if there is no password matching that key.

Parameters:

  • key: string - The key the secret was stored under.

Returns: Thenable<string | undefined> - The stored value or undefined.

Retrieve a secret that was stored with key. Returns undefined if there
is no password matching that key.

**Parameters:**
- `key`: `string` - The key the secret was stored under.

**Returns:** `Thenable<string | undefined>` - The stored value or `undefined`.
sourceraw docstring

on-did-changecljs

(on-did-change secret-storage)
(on-did-change secret-storage listener)
(on-did-change secret-storage listener this-args)
(on-did-change secret-storage listener this-args disposables)

Fires when a secret is stored or deleted.

Parameters:

  • listener: (e: T) => any - The listener function will be called when the event happens.
  • this-args: any - The this-argument which will be used when calling the event listener.
  • disposables: Disposable[] | undefined - An array to which a {@link Disposable } will be added.

Returns: Disposable - A disposable which unsubscribes the event listener.

Fires when a secret is stored or deleted.

**Parameters:**
- `listener`: `(e: T) => any` - The listener function will be called when the event happens.
- `this-args`: `any` - The `this`-argument which will be used when calling the event listener.
- `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added.

**Returns:** `Disposable` - A disposable which unsubscribes the event listener.
sourceraw docstring

set-on-did-change!cljs

(set-on-did-change! secret-storage value)

Fires when a secret is stored or deleted.

Fires when a secret is stored or deleted.
sourceraw docstring

storecljs

(store secret-storage key value)

Store a secret under a given key.

Parameters:

  • key: string - The key to store the secret under.
  • value: string - The secret.

Returns: Thenable<void>

Store a secret under a given key.

**Parameters:**
- `key`: `string` - The key to store the secret under.
- `value`: `string` - The secret.

**Returns:** `Thenable<void>`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close