We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe89f5 commit 886b5bfCopy full SHA for 886b5bf
recaptcha-enterprise.asd
@@ -1,5 +1,5 @@
1
(defsystem recaptcha-enterprise
2
- :version "0.1.2"
+ :version "0.1.3"
3
:author "Dmitrii Kosenkov"
4
:license "MIT"
5
:depends-on ("dexador" "jonathan")
recaptcha-enterprise.lisp
@@ -6,8 +6,11 @@
6
"your Google Cloud project ID")
7
8
(defun verify (key-id token &optional (action "LOGIN"))
9
- (assert (not (null *api-key*)))
10
- (assert (not (null *project-id*)))
+ (check-type *api-key* string)
+ (check-type *project-id* string)
11
+ (check-type token string)
12
+ (check-type key-id string)
13
+ (check-type action string)
14
(let* ((response (dex:post (format nil "https://recaptchaenterprise.googleapis.com/v1/projects/~A/assessments?key=~A"
15
*project-id* *api-key*)
16
:headers '(("Content-Type" . "application/json"))
0 commit comments