aboutsummaryrefslogtreecommitdiff
path: root/src/defendpoint.lisp
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2024-08-24 10:55:43 -0700
committercolin <colin@cicadas.surf>2024-08-24 10:55:43 -0700
commit228d2ed37a71462e912be68bf76c01fd225f7d53 (patch)
tree16eb00b8d8d31fda246221fd7fdbc6bd387b8955 /src/defendpoint.lisp
parent71ab563b2b0f4763ac266d6359fba492514bda65 (diff)
More tweaks to language
Diffstat (limited to 'src/defendpoint.lisp')
-rw-r--r--src/defendpoint.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defendpoint.lisp b/src/defendpoint.lisp
index 23955b5..e79456f 100644
--- a/src/defendpoint.lisp
+++ b/src/defendpoint.lisp
@@ -204,11 +204,11 @@ PART is either
:then (cons :var (second <var>))
:note "SYMBOL bound to the instance during the handler protocol.")
(<authenticate>
- :match (:seq (:= :authenticate) (:item))
+ :match (:seq (:or= :authenticate :authenticated-when) (:item))
:then (cons :authenticate (second <authenticate>))
:note "Body form of authenticate method.")
(<authorize>
- :match (:seq (:= :authorize) (:item))
+ :match (:seq (:or= :authorize :authorized-when) (:item))
:then (cons :authorize (second <authorize>))
:note "Body form of authorize method.")
(<handle>