Skip to content

Commit 6c85487

Browse files
committed
Update doc
1 parent 2b55ee9 commit 6c85487

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

README.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,11 @@ or after you have installed `auth-source-keytar.el` in your `load-path`. Do the
2020

2121
```el
2222
(require 'auth-source-keytar)
23-
(auth-source-keytar-install)
23+
(keytar-install)
2424
```
2525

2626
## Usage
2727

28-
List of supported API ported from [node-keytar](https://www.npmjs.com/package/keytar).
29-
30-
* `auth-source-keytar-get-password`
31-
* `auth-source-keytar-set-password`
32-
* `auth-source-keytar-delete-password`
33-
* `auth-source-keytar-find-credentials`
34-
* `auth-source-keytar-find-password`
35-
36-
*P.S. Checkout the [node-keytar#docs](https://github.com/atom/node-keytar#docs) for details*
37-
38-
## Examples
39-
40-
A small example to use this library in Emacs Lisp.
41-
42-
```el
43-
(auth-source-keytar-set-password "service1" "testuser" "hello") ; t
44-
(auth-source-keytar-find-credentials "service1") ; [ { account: 'testuser', password: 'hello' } ]
45-
(auth-source-keytar-find-password "service1") ; hello
46-
```
47-
48-
If you attempt to use `auth-source` then,
49-
5028
```el
5129
(auth-source-keytar-enable)
5230
(auth-source-keytar-search :service "service1" :account "testuser")

0 commit comments

Comments
 (0)