Liking cljdoc? Tell your friends :D

com.halo9000.ring-oidc-session


fetch-oidc-userinfoclj

(fetch-oidc-userinfo uri access-token)

Return userinfo from OIDC endpoint or nil if unauthorized or other error.

Return userinfo from OIDC endpoint or nil if unauthorized or other error.
sourceraw docstring

get-ring-oauth2-entryclj

(get-ring-oauth2-entry request)

Return [id token-map] for ring-oauth2 session in request or nil if :ring.middleware.oauth2/access-tokens not present.

Return [id token-map] for ring-oauth2 session in request or nil if :ring.middleware.oauth2/access-tokens not present.
sourceraw docstring

wrap-oidc-sessionclj

(wrap-oidc-session handler profile-map)
source

wrap-userinfoclj

(wrap-userinfo handler profile-map)

If request has a valid token, add ::userinfo key with results from OIDC userinfo_endpoint before calling next handler.

If request has a valid token, add ::userinfo key with results from OIDC userinfo_endpoint before calling next handler.
sourceraw docstring

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

× close