(authentication-filter handler service no-redirect?)
(authentication-filter handler service no-redirect? cas-server)
(BYU-CAS-service s)
Returns a function that returns s because functions are required
Returns a function that returns s because functions are required
(cas handler service & {:as options})
Middleware that requires the user to authenticate with a CAS server.
The users's username is added to the request map under the :username key.
Accepts the following options:
:enabled - when false, the middleware does nothing :no-redirect? - if this predicate function returns true for a request, a 403 Forbidden response will be returned instead of a 302 Found redirect :server - the target cas server
Middleware that requires the user to authenticate with a CAS server. The users's username is added to the request map under the :username key. Accepts the following options: :enabled - when false, the middleware does nothing :no-redirect? - if this predicate function returns true for a request, a 403 Forbidden response will be returned instead of a 302 Found redirect :server - the target cas server
(wrap-cas handler service-string)
(wrap-cas handler service-string server)
ring middleware to wrap with cas; requires a service string in addition to the handler. e.g. (-> handler (wrap-cas "mysite.com"))
ring middleware to wrap with cas; requires a service string in addition to the handler. e.g. (-> handler (wrap-cas "mysite.com"))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close