/
quick_unlock_private.cljs
31 lines (20 loc) · 1.25 KB
/
quick_unlock_private.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(ns chromex.ext.quick-unlock-private (:require-macros [chromex.ext.quick-unlock-private :refer [gen-wrap]])
(:require [chromex.core]))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn get-auth-token* [config account-password]
(gen-wrap :function ::get-auth-token config account-password))
(defn set-lock-screen-enabled* [config token enabled]
(gen-wrap :function ::set-lock-screen-enabled config token enabled))
(defn get-available-modes* [config]
(gen-wrap :function ::get-available-modes config))
(defn get-active-modes* [config]
(gen-wrap :function ::get-active-modes config))
(defn check-credential* [config mode credential]
(gen-wrap :function ::check-credential config mode credential))
(defn get-credential-requirements* [config mode]
(gen-wrap :function ::get-credential-requirements config mode))
(defn set-modes* [config token modes credentials]
(gen-wrap :function ::set-modes config token modes credentials))
; -- events -----------------------------------------------------------------------------------------------------------------
(defn on-active-modes-changed* [config channel & args]
(gen-wrap :event ::on-active-modes-changed config channel args))