Liking cljdoc? Tell your friends :D

clj-macaroons.core


add-caveatsclj

(add-caveats builder caveats)

caveat-packet->strclj

(caveat-packet->str caveat-packet)

caveatsclj

(caveats macaroon)

default-separatorclj


deserializeclj

(deserialize macaroon)

exact-caveatclj

(exact-caveat k)
(exact-caveat k v)
(exact-caveat k v separator)

Returns a caveat designed to be satisfied exactly. k and v should both implement Named

Returns a caveat designed to be satisfied exactly.
k and v should both implement Named
raw docstring

expiry-caveatclj

(expiry-caveat expiry)

Returns a caveat that is only be satisfied before expiry when compared to machine time.

Expiry should be one of the formats supported by https://github.com/nitram509/jmacaroons/blob/master/src/main/java/com/github/nitram509/jmacaroons/verifier/TimestampCaveatVerifier.java

Returns a caveat that is only be satisfied before expiry when compared
to machine time.

Expiry should be one of the formats supported by https://github.com/nitram509/jmacaroons/blob/master/src/main/java/com/github/nitram509/jmacaroons/verifier/TimestampCaveatVerifier.java 
raw docstring

expiry-separatorclj


identifierclj

(identifier macaroon)

json-caveatclj

(json-caveat m)

Returns an exact caveat representing multiple k/v pairs, encoded as json.

Returns an exact caveat representing multiple k/v pairs, encoded as json.
raw docstring

locationclj

(location macaroon)

macaroonclj

(macaroon location secret-key identifier & [caveats])

satisfy-exactclj

(satisfy-exact mv caveat)

satisfy-expiryclj

(satisfy-expiry mv)

satisfy-generalclj

(satisfy-general mv gcv)

serializeclj

(serialize macaroon)

signatureclj

(signature macaroon)

verifier->cljmacro

(verifier-> & body)

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

× close