Liking cljdoc? Tell your friends :D

e85th.commons.token

Various tokens and token factories.

Various tokens and token factories.
raw docstring

ITokenFactorycljprotocol

backendclj

(backend this)

data->tokenclj

(data->token this data)

token->dataclj

(token->data this token)

token->data!clj

(token->data! this token)
source

new-sha256-token-factoryclj

(new-sha256-token-factory secret token-ttl-minutes)
(new-sha256-token-factory secret token-ttl-minutes token-name)
(new-sha256-token-factory secret token-ttl-minutes token-name on-error-fn)

Create a new token factory with SHA256 implementation.

Create a new token factory with SHA256 implementation.
sourceraw docstring

rand-tokenclj

(rand-token)
(rand-token n)
(rand-token n src)

Generates a random token of size n (default 5).

Generates a random token of size n (default 5).
sourceraw docstring

token-decrypt-failed-exclj

source

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

× close