Function: ghub--auth-source-get
ghub--auth-source-get is a byte-compiled function defined in ghub.el.
Signature
(ghub--auth-source-get KEYS &rest SPEC)
Source Code
;; Defined in ~/.emacs.d/elpa/ghub-20260401.1239/ghub.el
(defun ghub--auth-source-get (keys &rest spec)
(declare (indent 1))
(if-let ((plist (car (apply #'auth-source-search spec))))
(if (keywordp keys)
(plist-get plist keys)
(mapcar (##plist-get plist %) keys))
;; Auth-Source caches the information that there is no value, but in
;; our case that is a situation that needs fixing, so we want to keep
;; trying, by invalidating that information.
(auth-source-forget spec)
nil))