Liking cljdoc? Tell your friends :D

lupapiste-commons.ring.autologin


client-ipclj

(client-ip request)
(client-ip request gcp?)

Parses HTTP request and returns the originating ip address for the remote client. The address is then later resolved against the organization autologin configuration. If gcp? is true (default) the x-forwarded-for is taken into account and prioritized, since it is used by GCP.

Parses HTTP `request` and returns the originating ip address for the remote client. The
address is then later resolved against the organization autologin configuration. If
`gcp?` is true (default) the `x-forwarded-for` is taken into account and prioritized,
since it is used by GCP.
sourceraw docstring

client-ip-mapclj

(client-ip-map {:keys [remote-addr]
                {:strs [x-real-ip x-forwarded-for]} :headers})

Resolves remote client ip header values.

Resolves remote client ip header values.
sourceraw docstring

fetch-login-userclj

(fetch-login-user url basic-auth request-ip)
source

wrap-sso-autologinclj

(wrap-sso-autologin handler autologin-check-url)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close