Functions handling OAuth2 client storage.
Functions handling OAuth2 client storage.
(create-client info redirects grants scopes enabled? approved? & [id secret])
Creates and returns a new client.
Creates and returns a new client.
(disable-client client)
Disables client. Returns true if client has been disabled successfully or false otherwise.
Disables client. Returns true if client has been disabled successfully or false otherwise.
(enable-client client)
Enables client. Returns true if client has been enabled successfully or false otherwise.
Enables client. Returns true if client has been enabled successfully or false otherwise.
(find-client client-id)
Returns a client with given id if any found or nil otherwise.
Returns a client with given id if any found or nil otherwise.
(init-store type config)
Initializes client store according to given type and configuration.
Initializes client store according to given type and configuration.
(purge-clients)
Removes clients from store.
Removes clients from store.
(revoke-client client)
Revokes previously generated client and all tokens generated to this client so far.
Revokes previously generated client and all tokens generated to this client so far.
(scopes-valid? client scopes)
Checks whether given scopes are valid ones assigned to client.
Checks whether given scopes are valid ones assigned to client.
(validate-redirects redirects)
Goes through all redirects and returns list of validation failures.
Goes through all redirects and returns list of validation failures.
(validate-uri uri)
Returns java.net.URL instance of given uri or failure info in case of error.
Returns java.net.URL instance of given uri or failure info in case of error.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close