Liking cljdoc? Tell your friends :D

cerber.stores.client

Functions handling OAuth2 client storage.

Functions handling OAuth2 client storage.
raw docstring

client-storeclj

source

create-clientclj

(create-client info redirects grants scopes enabled? approved? & [id secret])

Creates and returns a new client.

Creates and returns a new client.
sourceraw docstring

create-client-storecljmultimethod

source

disable-clientclj

(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.
sourceraw docstring

enable-clientclj

(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.
sourceraw docstring

find-clientclj

(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.
sourceraw docstring

grant-allowed?clj

(grant-allowed? client grant)
source

init-storeclj

(init-store type config)

Initializes client store according to given type and configuration.

Initializes client store according to given type and configuration.
sourceraw docstring

normalizeclj

(normalize client)
source

purge-clientsclj

(purge-clients)

Removes clients from store.

Removes clients from store.
sourceraw docstring

redirect-uri-valid?clj

(redirect-uri-valid? client redirect-uri)
source

revoke-clientclj

(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.
sourceraw docstring

scopes-valid?clj

(scopes-valid? client scopes)

Checks whether given scopes are valid ones assigned to client.

Checks whether given scopes are valid ones assigned to client.
sourceraw docstring

validate-redirectsclj

(validate-redirects redirects)

Goes through all redirects and returns list of validation failures.

Goes through all redirects and returns list of validation failures.
sourceraw docstring

validate-uriclj

(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.
sourceraw docstring

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

× close