Liking cljdoc? Tell your friends :D

happy.oauth2

An example way to authorize for testing the generated api

An example way to authorize for testing the generated api
raw docstring

auth!clj

(auth!)
(auth! user)

Returns request header suitable for merging into a request, based on the (optional) singleton system. Will start an oauth2 listener if not already running. Will refresh tokens.

Returns request header suitable for merging into a request,
based on the (optional) singleton system.
Will start an oauth2 listener if not already running.
Will refresh tokens.
raw docstring

auth*clj

(auth* app user)

Returns request header suitable for merging into a request. May refresh a token.

Returns request header suitable for merging into a request.
May refresh a token.
raw docstring

default-configclj


singleton-appclj

Optional singleton system

Optional singleton system
raw docstring

start!clj

(start!)
(start! config)

Starts the (optional) singleton system. Use this if you don't have some other system management in place.

Starts the (optional) singleton system.
Use this if you don't have some other system management in place.
raw docstring

start*clj

(start* {:keys [scopes secret-file tokens-directory port]})

Creates a new, running authorization system. Use this to compose with system management.

Creates a new, running authorization system.
Use this to compose with system management.
raw docstring

stop!clj

(stop!)

Stops the (optional) singleton system. Use this if you don't have some other system management in place.

Stops the (optional) singleton system.
Use this if you don't have some other system management in place.
raw docstring

stop*clj

(stop* app)

Stops an authorization system.

Stops an authorization system.
raw docstring

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

× close