Liking cljdoc? Tell your friends :D

flybot.oie.token


generate-tokenclj

(generate-token prefix)

Returns a SensitiveToken with prefix + 32 URL-safe base64 characters.

Returns a SensitiveToken with `prefix` + 32 URL-safe base64 characters.
sourceraw docstring

hash-tokenclj

(hash-token token)

SHA-256 hash as 64-char hex string. Accepts string or SensitiveToken.

SHA-256 hash as 64-char hex string. Accepts string or SensitiveToken.
sourceraw docstring

token-active?clj

(token-active? token-data now)

True if token-data is non-nil, not revoked, and not expired at now (epoch ms).

True if token-data is non-nil, not revoked, and not expired at `now` (epoch ms).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close