Liking cljdoc? Tell your friends :D

keycloak.authn


access-tokenclj

(access-token client username password)
source

(auth-cookie bearer)
source

auth-headerclj

(auth-header bearer)
source

authenticateclj

(authenticate {:keys [auth-server-url realm client-id] :as conf} client-secret)
(authenticate {:keys [auth-server-url realm client-id] :as conf}
              username
              password)
(authenticate auth-server-url realm client-id client-secret)
(authenticate auth-server-url realm client-id username password)

return the bearer token decoded as a clojure data struct. (with :access_token and :refresh_token keys, beware 'underscore _' not 'hyphen -')

return the bearer token decoded as a clojure data struct. (with :access_token and :refresh_token keys, beware 'underscore _' not 'hyphen -')
sourceraw docstring

client-credentialsclj

(client-credentials client-id client-secret)
(client-credentials client-id username password)
source

oidc-connect-urlclj

(oidc-connect-url auth-server-url realm-name)
source

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

× close