summaryrefslogtreecommitdiff
path: root/auth/examples/simple_example.js
diff options
context:
space:
mode:
Diffstat (limited to 'auth/examples/simple_example.js')
-rw-r--r--auth/examples/simple_example.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/auth/examples/simple_example.js b/auth/examples/simple_example.js
deleted file mode 100644
index 2bf38c1..0000000
--- a/auth/examples/simple_example.js
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env -S gjs -m
-import Auth from "gi://AstalAuth";
-import Gio from "gi://Gio";
-
-Gio._promisify(Auth.Pam, "authenticate");
-
-await Auth.Pam.authenticate("password")
- .then(_ => print("authentication sucessful"))
- .catch(logError); \ No newline at end of file