Liking cljdoc? Tell your friends :D

vault.auth

High-level namespace for client authentication.

High-level namespace for client authentication.
raw docstring

currentclj

(current auth)

Return the current auth store state.

Return the current auth store state.
sourceraw docstring

expired?clj

(expired? auth)

True if the auth is expired.

True if the auth is expired.
sourceraw docstring

expires-within?clj

(expires-within? auth ttl)

True if the auth will expire within ttl seconds.

True if the auth will expire within `ttl` seconds.
sourceraw docstring

maintain!clj

(maintain! client f)

Maintain client authentication state. Returns a keyword indicating the maintenance result.

Maintain client authentication state. Returns a keyword indicating the
maintenance result.
sourceraw docstring

new-stateclj

(new-state)

Construct a new auth state store.

Construct a new auth state store.
sourceraw docstring

renewable?clj

(renewable? auth)

True if the auth token can be renewed right now.

True if the auth token can be renewed right now.
sourceraw docstring

set!clj

(set! auth info)

Set the auth store state to the provided info.

Set the auth store state to the provided info.
sourceraw docstring

valid?clj

(valid? auth)

True if the auth information map conforms to the spec.

True if the auth information map conforms to the spec.
sourceraw docstring

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

× close