Liking cljdoc? Tell your friends :D

com.halo9000.ring-oidc-session


*LOG-401*clj

source

*LOG-OTHER*clj

source

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

post-oidc-revokeclj

(post-oidc-revoke uri access-token client-id refresh-token)

Revoke the refresh (and access) tokens returning success response body or nil on error.

Revoke the refresh (and access) tokens returning success response body or nil on error.
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